ffmpeg | branch: master | Andreas Cadhalpun <andreas.cadhal...@googlemail.com> | Fri Sep 12 18:20:08 2014 +0200| [bcac0f401001e6ebb0ae2718cc42d30b2009de4b] | committer: Michael Niedermayer
lavf/format.c: use AVPROBE_SCORE_MIME instead of AVPROBE_SCORE_EXTENSION for matching mime types Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bcac0f401001e6ebb0ae2718cc42d30b2009de4b --- libavformat/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/format.c b/libavformat/format.c index 006cc87..1026c8f 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog