wtvdec: fix integer overflow resulting in errors with large files
This fixes a regression in9fbc613f0d
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit62e95757d5
) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
1456ed2dd5
commit
303ecfc373
@@ -965,7 +965,7 @@ static int read_header(AVFormatContext *s)
|
|||||||
uint8_t root[WTV_SECTOR_SIZE];
|
uint8_t root[WTV_SECTOR_SIZE];
|
||||||
AVIOContext *pb;
|
AVIOContext *pb;
|
||||||
int64_t timeline_pos;
|
int64_t timeline_pos;
|
||||||
int ret;
|
int64_t ret;
|
||||||
|
|
||||||
wtv->epoch =
|
wtv->epoch =
|
||||||
wtv->pts =
|
wtv->pts =
|
||||||
|
Reference in New Issue
Block a user