[FFmpeg-cvslog] latm: Do not give a score for a single instance

Luca Barbato git at videolan.org
Mon Dec 8 01:47:51 CET 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Dec  5 15:31:20 2014 +0100| [4f5906a1d7f4368cec43b224e8a675f54d2001d2] | committer: Luca Barbato

latm: Do not give a score for a single instance

Bug-Id: 773
CC: libav-stable at libav.org

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

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

diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 09fdbc3..65cb6bb 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -155,7 +155,7 @@ static int latm_read_probe(AVProbeData *p)
         return AVPROBE_SCORE_EXTENSION;
     else if (max_frames >= 3)
         return AVPROBE_SCORE_EXTENSION / 2;
-    else if (max_frames >= 1)
+    else if (max_frames > 1)
         return 1;
     else
         return 0;



More information about the ffmpeg-cvslog mailing list