allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size...
[ffmpeg.git] / libavformat / electronicarts.c
index 762d658..e140d49 100644 (file)
@@ -165,9 +165,6 @@ static int process_ea_header(AVFormatContext *s) {
 
 static int ea_probe(AVProbeData *p)
 {
-    if (p->buf_size < 4)
-        return 0;
-
     if (AV_RL32(&p->buf[0]) != SCHl_TAG)
         return 0;