}
switch (ctx->avctx->codec_id) {
- case CODEC_ID_AAC:
+ case AV_CODEC_ID_AAC:
ctx->model = &ff_aac_psy_model;
break;
}
if (avctx->cutoff > 0)
cutoff_coeff = 2.0 * avctx->cutoff / avctx->sample_rate;
- if (!cutoff_coeff && avctx->codec_id == CODEC_ID_AAC)
+ if (!cutoff_coeff && avctx->codec_id == AV_CODEC_ID_AAC)
cutoff_coeff = 2.0 * AAC_CUTOFF(avctx) / avctx->sample_rate;
if (cutoff_coeff)