diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 6c2f322bab..f6c79af189 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -634,10 +634,10 @@ intrax8_decoded: } const enum AVPixelFormat ff_h263_hwaccel_pixfmt_list_420[] = { -#if CONFIG_VAAPI +#if CONFIG_H263_VAAPI_HWACCEL || CONFIG_MPEG4_VAAPI_HWACCEL AV_PIX_FMT_VAAPI_VLD, #endif -#if CONFIG_VDPAU +#if CONFIG_H263_VDPAU_HWACCEL || CONFIG_MPEG4_VDPAU_HWACCEL AV_PIX_FMT_VDPAU, #endif AV_PIX_FMT_YUV420P,