[FFmpeg-devel] [PATCH 2/2] avformat/astdec: return max score from probe after fixing probetest missdetections

Michael Niedermayer michaelni at gmx.at
Wed Nov 6 23:59:12 CET 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/astdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/astdec.c b/libavformat/astdec.c
index 12252dc..ddc685a 100644
--- a/libavformat/astdec.c
+++ b/libavformat/astdec.c
@@ -35,7 +35,7 @@ static int ast_probe(AVProbeData *p)
         !AV_RB32(p->buf + 16) || AV_RB32(p->buf + 16) > 8*48000)
         return 1;
 
-    return AVPROBE_SCORE_MAX / 3 * 2;
+    return AVPROBE_SCORE_MAX;
 }
 
 static int ast_read_header(AVFormatContext *s)
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list