3rd try for mpeg-es probe ...

Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 19 years ago
parent 21d1cb12f8
commit 8f0df75438
  1. 2
      libavformat/raw.c

@ -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 AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
return 0; return 0;
} }

Loading…
Cancel
Save