[FFmpeg-cvslog] avformat/vqf: Use 64bit for ret to avoid overflow

Michael Niedermayer git at videolan.org
Fri Feb 20 21:13:51 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 20 21:00:57 2015 +0100| [cb08687180683a755d0fe9d425280d0e4d1e6db2] | committer: Michael Niedermayer

avformat/vqf: Use 64bit for ret to avoid overflow

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb08687180683a755d0fe9d425280d0e4d1e6db2
---

 libavformat/vqf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index ce07ca7..29c726d 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -261,7 +261,7 @@ static int vqf_read_seek(AVFormatContext *s,
 {
     VqfContext *c = s->priv_data;
     AVStream *st;
-    int ret;
+    int64_t ret;
     int64_t pos;
 
     st = s->streams[stream_index];



More information about the ffmpeg-cvslog mailing list