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:
parent
88c8ed18c9
commit
07da0854fe
@ -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…
Reference in New Issue
Block a user