diff options
Diffstat (limited to 'libavcodec/libfaac.c')
-rw-r--r-- | libavcodec/libfaac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c index ad51a03181..6d3742e314 100644 --- a/libavcodec/libfaac.c +++ b/libavcodec/libfaac.c @@ -118,7 +118,7 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx) faac_cfg->allowMidside = 1; faac_cfg->bitRate = avctx->bit_rate / avctx->channels; faac_cfg->bandWidth = avctx->cutoff; - if(avctx->flags & CODEC_FLAG_QSCALE) { + if(avctx->flags & AV_CODEC_FLAG_QSCALE) { faac_cfg->bitRate = 0; faac_cfg->quantqual = avctx->global_quality / FF_QP2LAMBDA; } @@ -132,7 +132,7 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx) /* Set decoder specific info */ avctx->extradata_size = 0; - if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) { + if (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) { unsigned char *buffer = NULL; unsigned long decoder_specific_info_size; |