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-14 14:27:22 +0100
commitc5c39132b4a3ef7f72dda8ea3d389eb3ba04860b (patch)
tree3ccc10d720bd73e123329bc5ecf34949ab7fecaa
parentc4b5b3309ca97bbb45ab9437a8deaab1299f82e1 (diff)
downloadffmpeg-c5c39132b4a3ef7f72dda8ea3d389eb3ba04860b.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 74c7f5fc17..a4703662cb 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -265,7 +265,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];