diff electronicarts.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 a782462e2497
children 2f0154760e5f
line wrap: on
line diff
--- a/electronicarts.c	Sun Apr 08 09:50:08 2007 +0000
+++ b/electronicarts.c	Sun Apr 08 11:34:15 2007 +0000
@@ -165,9 +165,6 @@
 
 static int ea_probe(AVProbeData *p)
 {
-    if (p->buf_size < 4)
-        return 0;
-
     if (AV_RL32(&p->buf[0]) != SCHl_TAG)
         return 0;