]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/4xm.c
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size...
[ffmpeg] / libavformat / 4xm.c
index bf10b9e820e344b2f93021d2dcd72cf13c3aa306..e3e3a9f799579725bb4b0ead94111cbbf570f3ba 100644 (file)
@@ -79,9 +79,6 @@ typedef struct FourxmDemuxContext {
 
 static int fourxm_probe(AVProbeData *p)
 {
-    if (p->buf_size < 12)
-        return 0;
-
     if ((AV_RL32(&p->buf[0]) != RIFF_TAG) ||
         (AV_RL32(&p->buf[8]) != _4XMV_TAG))
         return 0;