forked from FFmpeg/FFmpeg
Do not detect a format if another has the same score.
Originally committed as revision 12837 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
056f6b8f09
commit
4b3cca3630
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue