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>
This commit is contained in:
Paul B Mahol 2013-09-28 15:36:54 +00:00
parent 88c8ed18c9
commit 07da0854fe

View File

@ -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: