summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_mpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vaapi_mpeg2.c')
-rw-r--r--libavcodec/vaapi_mpeg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c
index 21bc77863f..2e870dcfa0 100644
--- a/libavcodec/vaapi_mpeg2.c
+++ b/libavcodec/vaapi_mpeg2.c
@@ -140,7 +140,7 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer
AVHWAccel mpeg2_vaapi_hwaccel = {
.name = "mpeg2_vaapi",
- .type = CODEC_TYPE_VIDEO,
+ .type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_MPEG2VIDEO,
.pix_fmt = PIX_FMT_VAAPI_VLD,
.capabilities = 0,