From 4f5906a1d7f4368cec43b224e8a675f54d2001d2 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 5 Dec 2014 15:31:20 +0100 Subject: [PATCH] latm: Do not give a score for a single instance Bug-Id: 773 CC: libav-stable@libav.org --- libavformat/rawdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 09fdbc327f..65cb6bb00f 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;