diff options
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index cfbe88e3e2..556b7b9770 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -613,7 +613,7 @@ static int h264_frame_start(H264Context *h) if ((ret = alloc_picture(h, pic)) < 0) return ret; if(!h->frame_recovered && !h->avctx->hwaccel && - !(h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) + !(h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU)) avpriv_color_frame(pic->f, c); h->cur_pic_ptr = pic; @@ -1045,7 +1045,7 @@ static int h264_slice_header_init(H264Context *h) } if (h->avctx->codec && - h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU && + h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU && (h->sps.bit_depth_luma != 8 || h->sps.chroma_format_idc > 1)) { av_log(h->avctx, AV_LOG_ERROR, "VDPAU decoding does not support video colorspace.\n"); @@ -2524,7 +2524,7 @@ int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count) h->slice_ctx[0].next_slice_idx = INT_MAX; if (h->avctx->hwaccel || - h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU) + h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) return 0; if (context_count == 1) { int ret; |