X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Faacdec.c;h=fecb1e381da526a2d0c1060b13d1dbd2529a3b96;hb=9e1ddc08208d7b484d5d97d4e169c75b91e3ff21;hp=aa2375690d979a688d97fa8e81aa0f51effd459f;hpb=796027f22154c799e0063e2457b31e0cfd1dddae;p=ffmpeg diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index aa2375690d9..fecb1e381da 100644 --- a/libavformat/aacdec.c +++ b/libavformat/aacdec.c @@ -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;