Module: libav
Branch: master
Commit: 4f5906a1d7f4368cec43b224e8a675f54d2001d2

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Fri Dec  5 15:31:20 2014 +0100

latm: Do not give a score for a single instance

Bug-Id: 773
CC: [email protected]

---

 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to