avformat/vqf: Use 64bit for ret to avoid overflow
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Feb 2015 20:00:57 +0000 (21:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Feb 2015 20:00:57 +0000 (21:00 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/vqf.c

index ce07ca7..29c726d 100644 (file)
@@ -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];