Commit 4b3cca36 authored by Michael Niedermayer's avatar Michael Niedermayer

Do not detect a format if another has the same score.

Originally committed as revision 12837 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 056f6b8f
......@@ -282,7 +282,8 @@ static AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int
if (score > *score_max) {
*score_max = score;
fmt = fmt1;
}
}else if (score == *score_max)
fmt = NULL;
}
return fmt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment