]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mp3dec.c
avformat/ipmovie: check OPCODE_INIT_VIDEO_BUFFERS size more completely
[ffmpeg] / libavformat / mp3dec.c
index 30ec7771fdff2f4f18edae1e84277a097b9b6b91..5d484e9090d825f1d4bd535ec1de2029ce2c1dd6 100644 (file)
@@ -67,6 +67,8 @@ static int mp3_read_probe(AVProbeData *p)
 
     for(; buf < end; buf= buf2+1) {
         buf2 = buf;
+        if(ff_mpa_check_header(AV_RB32(buf2)))
+            continue;
 
         for(frames = 0; buf2 < end; frames++) {
             header = AV_RB32(buf2);