[SCM] libav/experimental: remove arbitrary 4096 limit for probing

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:10:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 890d2799c19cfece563502c8363d27ad48e26379
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Dec 3 04:50:01 2007 +0000

    remove arbitrary 4096 limit for probing
    
    Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index 74bd275..39cb60d 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list