summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/format.c2
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;