X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fh264_picture.c;h=81d90d73c2989c54bcdf396b9dacff700807fc31;hb=fee7c42bf45f72d457fafaee536f054ce59e4ec5;hp=bf1471de514b91eadc088a0a4f3d82ed5aaf1be4;hpb=90696ef368819a1a0576c0c96ce4349dd726dd4f;p=ffmpeg diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c index bf1471de514..81d90d73c29 100644 --- a/libavcodec/h264_picture.c +++ b/libavcodec/h264_picture.c @@ -158,7 +158,7 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup) h->mb_y = 0; if (CONFIG_H264_VDPAU_DECODER && - h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU) + h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) ff_vdpau_h264_set_reference_frames(h); if (in_setup || !(avctx->active_thread_type & FF_THREAD_FRAME)) { @@ -178,7 +178,7 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup) } if (CONFIG_H264_VDPAU_DECODER && - h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU) + h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) ff_vdpau_h264_picture_complete(h); #if CONFIG_ERROR_RESILIENCE