1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

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; 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 (first_frames >= 1)
return 1; return 1;
else else
return 0; return 0;