[FFmpeg-devel] [PATCH] wtvdec: fix integer overflow resulting in errors with large files
Rodger Combs
rodger.combs at gmail.com
Fri Feb 20 16:30:04 CET 2015
This fixes a regression in 9fbc613f0df1628e7e78bca791fa8833846f8210
---
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 =
--
2.3.0
More information about the ffmpeg-devel
mailing list