From 62e95757d5749e578b2abd407e3009d15a85adb0 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Fri, 20 Feb 2015 09:30:04 -0600 Subject: wtvdec: fix integer overflow resulting in errors with large files This fixes a regression in 9fbc613f0df1628e7e78bca791fa8833846f8210 Signed-off-by: Michael Niedermayer --- libavformat/wtvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') 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 = -- cgit v1.2.3