[Ffmpeg-cvslog] CVS: ffmpeg/libavformat raw.c,1.64,1.65

Michael Niedermayer CVS michael
Sat Feb 4 17:58:00 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv15152

Modified Files:
	raw.c 
Log Message:
3rd try for mpeg-es probe ...


Index: raw.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/raw.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- raw.c	4 Feb 2006 02:05:51 -0000	1.64
+++ raw.c	4 Feb 2006 16:57:58 -0000	1.65
@@ -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;
 }





More information about the ffmpeg-cvslog mailing list