summaryrefslogtreecommitdiff
path: root/libavformat/vqf.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-28 15:36:54 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-28 15:36:54 +0000
commit07da0854fe98793b17a7125ff96c54b206e452a4 (patch)
tree8dc188f31f7ce7f17be9fc37ea42d559245d8080 /libavformat/vqf.c
parent88c8ed18c972ef865331e57bd8dfed28bf489094 (diff)
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>
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r--libavformat/vqf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 1ce53595d6..83ec1be1a0 100644
--- a/libavformat/vqf.c
+++ b/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: