diff avs.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 0899bfe4105c
children 06083249909c
line wrap: on
line diff
--- a/avs.c	Sun Apr 08 09:50:08 2007 +0000
+++ b/avs.c	Sun Apr 08 11:34:15 2007 +0000
@@ -47,8 +47,6 @@
 {
     const uint8_t *d;
 
-    if (p->buf_size < 2)
-        return 0;
     d = p->buf;
     if (d[0] == 'w' && d[1] == 'W' && d[2] == 0x10 && d[3] == 0)
         return 50;