Skip to content
Snippets Groups Projects
Commit 8f0df754 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

3rd try for mpeg-es probe ...

Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 21d1cb12
No related branches found
No related tags found
No related merge requests found
...@@ -306,7 +306,7 @@ static int mpegvideo_probe(AVProbeData *p) ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment