[FFmpeg-cvslog] wtvdec: fix integer overflow resulting in errors with large files
Rodger Combs
git at videolan.org
Sat Mar 21 02:30:00 CET 2015
ffmpeg | branch: release/2.5 | Rodger Combs <rodger.combs at gmail.com> | Fri Feb 20 09:30:04 2015 -0600| [303ecfc373a5c03434b934e44014daae30dc7a5b] | 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>
(cherry picked from commit 62e95757d5749e578b2abd407e3009d15a85adb0)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=303ecfc373a5c03434b934e44014daae30dc7a5b
---
libavformat/wtvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index 4009964..a73e0ba 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