From 917d14e6a20d05a58eb65ba9c766997886199c46 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Sep 2014 16:48:02 +0200 Subject: avformat/format: Run image2 probe again when file content data is available Reviewed-by: Benoit Fouet Signed-off-by: Michael Niedermayer --- libavformat/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/format.c') diff --git a/libavformat/format.c b/libavformat/format.c index 828ab52fc9..006cc87e1c 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -202,7 +202,7 @@ AVInputFormat *av_probe_input_format3(AVProbeData *pd, int is_opened, fmt = NULL; while ((fmt1 = av_iformat_next(fmt1))) { - if (!is_opened == !(fmt1->flags & AVFMT_NOFILE)) + if (!is_opened == !(fmt1->flags & AVFMT_NOFILE) && strcmp(fmt1->name, "image2")) continue; score = 0; if (fmt1->read_probe) { -- cgit v1.2.3