OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e8026
)
lavf/format.c: use AVPROBE_SCORE_MIME instead of AVPROBE_SCORE_EXTENSION for matching...
author
Andreas Cadhalpun
<Andreas.Cadhalpun@googlemail.com>
Fri, 12 Sep 2014 16:20:08 +0000
(18:20 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Sep 2014 22:37:35 +0000
(
00:37
+0200)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/format.c
patch
|
blob
|
history
diff --git
a/libavformat/format.c
b/libavformat/format.c
index
006cc87
..
1026c8f
100644
(file)
--- 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;