[FFmpeg-cvslog] avformat/lvfdec: increase the score for odd channels to max/8

Michael Niedermayer git at videolan.org
Sun Nov 10 13:38:37 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov 10 13:10:23 2013 +0100| [ef28694d363faf54cbe3d15925232739a309d2d5] | committer: Michael Niedermayer

avformat/lvfdec: increase the score for odd channels to max/8

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef28694d363faf54cbe3d15925232739a309d2d5
---

 libavformat/lvfdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/lvfdec.c b/libavformat/lvfdec.c
index d4bad12..1ff67c8 100644
--- a/libavformat/lvfdec.c
+++ b/libavformat/lvfdec.c
@@ -29,7 +29,7 @@ static int lvf_probe(AVProbeData *p)
         return 0;
 
     if (!AV_RL32(p->buf + 16) || AV_RL32(p->buf + 16) > 256)
-        return 0;
+        return AVPROBE_SCORE_MAX / 8;
 
     return AVPROBE_SCORE_EXTENSION;
 }



More information about the ffmpeg-cvslog mailing list