X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fdcadec.c;h=eae6c44844f099d958338b63621c71b66e7fe82a;hb=a0092cea462ff4f203aaff09c42c6731c6516b44;hp=a1b389f46dad7d08e5da37e1a0c7f55e50e5ad23;hpb=59b009411fcc8531d661a381bbd2608e36c20bd0;p=ffmpeg diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index a1b389f46da..eae6c44844f 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -2000,7 +2000,7 @@ static av_cold int dca_decode_init(AVCodecContext *avctx) s->avctx = avctx; dca_init_vlcs(); - s->fdsp = avpriv_float_dsp_alloc(avctx->flags & CODEC_FLAG_BITEXACT); + s->fdsp = avpriv_float_dsp_alloc(avctx->flags & AV_CODEC_FLAG_BITEXACT); if (!s->fdsp) return AVERROR(ENOMEM); @@ -2068,7 +2068,7 @@ AVCodec ff_dca_decoder = { .init = dca_decode_init, .decode = dca_decode_frame, .close = dca_decode_end, - .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_CHANNEL_CONF | AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, .profiles = NULL_IF_CONFIG_SMALL(profiles),