From 890d2799c19cfece563502c8363d27ad48e26379 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 3 Dec 2007 04:50:01 +0000 Subject: [PATCH] remove arbitrary 4096 limit for probing Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 74bd275077..39cb60d579 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -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;