avformat/vqf: Use 64bit for ret to avoid overflow

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cb08687180)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-20 21:00:57 +01:00
parent 6faf18acbd
commit a2cfb784fb

View File

@ -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];