latm: Do not give a score for a single instance
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 5 Dec 2014 14:31:20 +0000 (15:31 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 12 Jan 2015 22:18:01 +0000 (23:18 +0100)
Bug-Id: 773
CC: libav-stable@libav.org
libavformat/rawdec.c

index 09fdbc3..65cb6bb 100644 (file)
@@ -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;