summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-03 04:50:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-03 04:50:01 +0000
commit890d2799c19cfece563502c8363d27ad48e26379 (patch)
treef5a5ceabe21a1ec5346771671a99998f859c37a9 /libavformat/mp3.c
parent5110d151b6b2b835ebcdbe44f7a445b6c23eca62 (diff)
remove arbitrary 4096 limit for probing
Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r--libavformat/mp3.c2
1 files changed, 1 insertions, 1 deletions
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;