X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Faacpsy.c;h=82b670d49d8c41d160ae639b63e1933a3f9aa38d;hb=bd074bde02aa11b93958300f06be2a18b549091a;hp=a5474b9383c5f228d0687efe1637ed879abc9306;hpb=59216e0525a58714be4207be6ae8744750e62867;p=ffmpeg diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index a5474b9383c..82b670d49d8 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -262,7 +262,7 @@ static av_cold void lame_window_init(AacPsyContext *ctx, AVCodecContext *avctx) for (i = 0; i < avctx->channels; i++) { AacPsyChannel *pch = &ctx->ch[i]; - if (avctx->flags & CODEC_FLAG_QSCALE) + if (avctx->flags & AV_CODEC_FLAG_QSCALE) pch->attack_threshold = psy_vbr_map[avctx->global_quality / FF_QP2LAMBDA].st_lrm; else pch->attack_threshold = lame_calc_attack_threshold(avctx->bit_rate / avctx->channels / 1000);