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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/113/head^2
Michael Niedermayer 10 years ago
parent d44e0d8b93
commit cb08687180
  1. 2
      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];

Loading…
Cancel
Save