Skip to content

Commit 835d66a

Browse files
authored
Fix useTuneIq comment in aomCodecEncodeImage() (AOMediaCodec#2999)
1 parent 2b14784 commit 835d66a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/codec_aom.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,9 +733,7 @@ static avifResult aomCodecEncodeImage(avifCodec * codec,
733733
struct aom_codec_enc_cfg * cfg = &codec->internal->cfg;
734734
avifBool quantizerUpdated = AVIF_FALSE;
735735
// True if libavif knows that tune=iq is used, either by default by libavif, or explicitly set by the user.
736-
// False otherwise (including if libaom uses tune=iq by default, which is not the case as of v1.13.1 and earlier versions).
737-
// This is only accurate for the first frame but tune=iq is only supported for still images in libavif and
738-
// for all-intra coding in libaom (at least up to v1.13.1) anyway.
736+
// False otherwise (including if libaom uses tune=iq by default, which is not the case as of v3.13.1 and earlier versions).
739737
const avifBool useTuneIq = useLibavifDefaultTuneMetric ? libavifDefaultTuneMetric == AOM_TUNE_IQ : avifImageUsesTuneIq(codec, alpha);
740738
const int quantizer = aomQualityToQuantizer(quality, useTuneIq);
741739

0 commit comments

Comments
 (0)