diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-11 16:48:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-12 18:20:38 +0200 |
commit | 917d14e6a20d05a58eb65ba9c766997886199c46 (patch) | |
tree | 708ba51999a034f43c52b847ebe3dc5b84e48efa /libavformat/format.c | |
parent | 321c3cd1a97b9307760c3ebb175296590c382eca (diff) | |
download | ffmpeg-917d14e6a20d05a58eb65ba9c766997886199c46.tar.gz |
avformat/format: Run image2 probe again when file content data is available
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r-- | libavformat/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |