[SCM] libav/experimental: Slighty tweak mp3 probe threshold to prevent probetest from complaining.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:51:07 UTC 2013


The following commit has been merged in the experimental branch:
commit 1ac9563075edd386932ff402c378944cc2da1873
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Sep 14 23:03:33 2009 +0000

    Slighty tweak mp3 probe threshold to prevent probetest from complaining.
    
    Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index c80b5d4..93d4be0 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -60,7 +60,7 @@ static int mp3_read_probe(AVProbeData *p)
         if(buf == buf0)
             first_frames= frames;
     }
-    if   (first_frames>=3) return AVPROBE_SCORE_MAX/2+1;
+    if   (first_frames>=4) return AVPROBE_SCORE_MAX/2+1;
     else if(max_frames>500)return AVPROBE_SCORE_MAX/2;
     else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
     else if(buf0!=p->buf)  return AVPROBE_SCORE_MAX/4-1;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list