diff options
author | Michael Niedermayer | 2006-02-04 16:57:58 +0000 |
---|---|---|
committer | Michael Niedermayer | 2006-02-04 16:57:58 +0000 |
commit | 8f0df75438d7d3e5dfcd4247c480ef3e3819e6b4 (patch) | |
tree | 87b099e2bdb83b5aa0f76c674d492889bbf70fe0 /libavformat/raw.c | |
parent | 21d1cb12f8e27cdb45b9784600aa5fb1278daa60 (diff) |
3rd try for mpeg-es probe ...
Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c index aaff4e8407..7628b237c5 100644 --- a/libavformat/raw.c +++ b/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 0; } |