latm: Do not give a score for a single instance

Bug-Id: 773
CC: libav-stable@libav.org
This commit is contained in:
Luca Barbato 2014-12-05 15:31:20 +01:00
parent 71f29410e7
commit 4f5906a1d7

View File

@ -155,7 +155,7 @@ static int latm_read_probe(AVProbeData *p)
return AVPROBE_SCORE_EXTENSION; return AVPROBE_SCORE_EXTENSION;
else if (max_frames >= 3) else if (max_frames >= 3)
return AVPROBE_SCORE_EXTENSION / 2; return AVPROBE_SCORE_EXTENSION / 2;
else if (max_frames >= 1) else if (max_frames > 1)
return 1; return 1;
else else
return 0; return 0;