aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:00:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 02:13:08 +0200
commit79460c552f8d93dc8fb71f5fb3b4131b437aad70 (patch)
tree7c4013ccd65c8e8398898ce2174c41eab5f0b8ae
parentfc0d183729c2fbaed88e4b62155646400978052d (diff)
downloadffmpeg-79460c552f8d93dc8fb71f5fb3b4131b437aad70.tar.gz
avformat/vqf: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit cb08687180683a755d0fe9d425280d0e4d1e6db2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/vqf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 1ce53595d6..3479657b3a 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -256,7 +256,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];