mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
3rd try for mpeg-es probe ...
Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
21d1cb12f8
commit
8f0df75438
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user