aboutsummaryrefslogtreecommitdiff
path: root/libavformat/vqf.c
diff options
context:
space:
mode:
authorMichael Niedermayer2015-02-20 21:00:57 +0100
committerMichael Niedermayer2015-02-20 21:00:57 +0100
commitcb08687180683a755d0fe9d425280d0e4d1e6db2 (patch)
tree11b839a33a608502708ce850aac036a9f3e8e35d /libavformat/vqf.c
parentd44e0d8b930732a4a247b4884d75cf62b4ad3664 (diff)
avformat/vqf: Use 64bit for ret to avoid overflow
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 ce07ca7851..29c726dae9 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];