Commit 8f0df754 authored by Michael Niedermayer's avatar Michael Niedermayer

3rd try for mpeg-es probe ...

Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 21d1cb12
......@@ -306,7 +306,7 @@ static int mpegvideo_probe(AVProbeData *p)
}
}
}
if(seq && pic && slice && seq<pic && !pspack)
if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack)
return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
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