wtvdec: fix integer overflow resulting in errors with large files

This fixes a regression in 9fbc613f0d

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 f015d3d539
commit 62e95757d5
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ static int read_header(AVFormatContext *s)
uint8_t root[WTV_SECTOR_SIZE];
AVIOContext *pb;
int64_t timeline_pos;
int ret;
int64_t ret;
wtv->epoch =
wtv->pts =