Commit 7b572f87 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12837 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0837777
......@@ -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