diff mov.c @ 2001:1a3c9056982a libavformat

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
author michael
date Sun, 08 Apr 2007 11:34:15 +0000
parents 4571a481081d
children 2f0154760e5f
line wrap: on
line diff
--- a/mov.c	Sun Apr 08 09:50:08 2007 +0000
+++ b/mov.c	Sun Apr 08 11:34:15 2007 +0000
@@ -1320,8 +1320,6 @@
     int score = 0;
 
     /* check file header */
-    if (p->buf_size <= 12)
-        return 0;
     offset = 0;
     for(;;) {
         /* ignore invalid offset */