mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
Fix mpeg-ps misdetected as m4v.
Fix issue2326 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
19457a5d4a
commit
2ee453610f
@ -45,7 +45,7 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
|
||||
}
|
||||
|
||||
if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res==0)
|
||||
return AVPROBE_SCORE_MAX/2;
|
||||
return VOP+VO > 3 ? AVPROBE_SCORE_MAX/2 : AVPROBE_SCORE_MAX/4;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user