1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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

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 =