changeset 930:3d1db6d5f8ed libavformat

3rd try for mpeg-es probe ...
author michael
date Sat, 04 Feb 2006 16:57:58 +0000
parents 0667558dbb8f
children 7420a756dc7a
files raw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Sat Feb 04 02:05:51 2006 +0000
+++ b/raw.c	Sat Feb 04 16:57:58 2006 +0000
@@ -306,7 +306,7 @@
             }
         }
     }
-    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;
 }