Commit 2ee45361 authored by Michael Niedermayer's avatar Michael Niedermayer

Fix mpeg-ps misdetected as m4v.

Fix issue2326
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 19457a5d
......@@ -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;
}
......
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