1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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;
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;