diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2015-02-20 09:30:04 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 18:38:36 +0100 |
commit | 62e95757d5749e578b2abd407e3009d15a85adb0 (patch) | |
tree | 97130221e876693c8178c8afa6e95e9f9c8b19df /libavformat/wtvdec.c | |
parent | f015d3d53916c09fff98bb350854e97fd6d9e227 (diff) | |
download | ffmpeg-62e95757d5749e578b2abd407e3009d15a85adb0.tar.gz |
wtvdec: fix integer overflow resulting in errors with large files
This fixes a regression in 9fbc613f0df1628e7e78bca791fa8833846f8210
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wtvdec.c')
-rw-r--r-- | libavformat/wtvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index a752ee22bd..95b2312fff 100644 --- a/libavformat/wtvdec.c +++ b/libavformat/wtvdec.c @@ -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 = |