aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vqf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:00:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-12 00:47:05 +0100
commit20446996f367bebba64197c1c18fe86a9ef2cb66 (patch)
tree61454a4ba258cf9d003afa352f464078d53c768f /libavformat/vqf.c
parent286915cb846fe3aeda066e60e57238c0f581546a (diff)
downloadffmpeg-20446996f367bebba64197c1c18fe86a9ef2cb66.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>
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r--libavformat/vqf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index e06f39349b..884611b8e4 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -227,7 +227,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];