X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fproresdec2.c;h=86c7b189f10c636f82e6b19a37a86c5bcd12c5e7;hb=9ed59f16e005554fe412bcc05b2ed40688f4fd16;hp=a1d497f0498a5e99f02110383d012c72847cef52;hpb=7093e215d02ed0dc9632f82ac8ccec432d29cd35;p=ffmpeg diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index a1d497f0498..86c7b189f10 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -574,7 +574,7 @@ static int decode_slice_thread(AVCodecContext *avctx, void *arg, int jobnr, int if (ret < 0) return ret; - if (!(avctx->flags & CODEC_FLAG_GRAY)) { + if (!(avctx->flags & AV_CODEC_FLAG_GRAY)) { ret = decode_slice_chroma(avctx, slice, (uint16_t*)dest_u, chroma_stride, buf + y_data_size, u_data_size, qmat_chroma_scaled, log2_chroma_blocks_per_mb); @@ -686,5 +686,5 @@ AVCodec ff_prores_decoder = { .init = decode_init, .close = decode_close, .decode = decode_frame, - .capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS, + .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS, };