diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2014-09-12 18:20:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-13 00:37:35 +0200 |
commit | bcac0f401001e6ebb0ae2718cc42d30b2009de4b (patch) | |
tree | 336598067803d48456e5dc296e11d271c4a47f93 /libavformat/format.c | |
parent | d5e802609a0046441798cdbd137c96e4aa912390 (diff) | |
download | ffmpeg-bcac0f401001e6ebb0ae2718cc42d30b2009de4b.tar.gz |
lavf/format.c: use AVPROBE_SCORE_MIME instead of AVPROBE_SCORE_EXTENSION for matching mime types
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
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 006cc87e1c..1026c8f7a7 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -217,7 +217,7 @@ AVInputFormat *av_probe_input_format3(AVProbeData *pd, int is_opened, score = AVPROBE_SCORE_EXTENSION; } if (av_match_name(lpd.mime_type, fmt1->mime_type)) - score = FFMAX(score, AVPROBE_SCORE_EXTENSION); + score = FFMAX(score, AVPROBE_SCORE_MIME); if (score > score_max) { score_max = score; fmt = fmt1; |