avformat/vfq: fix deadlock in vqf_read_header()

Fixes #3010.
Reported-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/37/merge
Paul B Mahol 11 years ago
parent 88c8ed18c9
commit 07da0854fe
  1. 2
      libavformat/vqf.c

@ -163,7 +163,7 @@ static int vqf_read_header(AVFormatContext *s)
header_size -= len;
} while (header_size >= 0);
} while (header_size >= 0 && !url_feof(s->pb));
switch (rate_flag) {
case -1:

Loading…
Cancel
Save