[FFmpeg-cvslog] wtvdec: fix integer overflow resulting in errors with large files
Rodger Combs
git at videolan.org
Fri Feb 20 18:46:13 CET 2015
ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Fri Feb 20 09:30:04 2015 -0600| [62e95757d5749e578b2abd407e3009d15a85adb0] | committer: Michael Niedermayer
wtvdec: fix integer overflow resulting in errors with large files
This fixes a regression in 9fbc613f0df1628e7e78bca791fa8833846f8210
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62e95757d5749e578b2abd407e3009d15a85adb0
---
libavformat/wtvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index a752ee2..95b2312 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 =
More information about the ffmpeg-cvslog
mailing list