3rd try for mpeg-es probe ...

Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-02-04 16:57:58 +00:00
parent 21d1cb12f8
commit 8f0df75438

View File

@ -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;
}