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-21 01:52:51 +0100
commita2cfb784fb080935fb4b37343dce2fbdf7c81302 (patch)
tree110e05676fe0b8e37b0b81ff45ebb814c2796055
parent6faf18acbd520cae62f07dcab1d3fd0f1863e820 (diff)
downloadffmpeg-a2cfb784fb080935fb4b37343dce2fbdf7c81302.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];