remove arbitrary 4096 limit for probing
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Dec 2007 04:50:01 +0000 (04:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Dec 2007 04:50:01 +0000 (04:50 +0000)
Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mp3.c

index 74bd275..39cb60d 100644 (file)
@@ -403,7 +403,7 @@ static int mp3_read_probe(AVProbeData *p)
 
     max_frames = 0;
     buf = p->buf;
-    end = buf + FFMIN(4096, p->buf_size - sizeof(uint32_t));
+    end = buf + p->buf_size - sizeof(uint32_t);
 
     for(; buf < end; buf++) {
         buf2 = buf;