lavf/aacdec: Do not autodetect a single frame inside the file.

This commit is contained in:
Carl Eugen Hoyos 2016-09-24 15:09:27 +02:00
parent 47ea6f5c9d
commit 04fa20d53c

View File

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