1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2025-03-21 10:29:53 +00: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 4baee1124b
commit da35008c31

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;