aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:00:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-29 03:34:21 +0200
commit5169df2122f68d856ee06a8e2ae4f17a62f3c9b7 (patch)
treea1c691e59480469234e56c7860f73734e1791950
parent8f65bedbaff42b046061b1874a4980f4d65b589e (diff)
downloadffmpeg-5169df2122f68d856ee06a8e2ae4f17a62f3c9b7.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 15e8246432..a8a639d8dc 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];