wtvdec: fix integer overflow resulting in errors with large files

This fixes a regression in 9fbc613f0d

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 62e95757d5)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Rodger Combs
2015-02-20 09:30:04 -06:00
committed by Michael Niedermayer
parent 1456ed2dd5
commit 303ecfc373

View File

@@ -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 =