summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec_mpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/qsvdec_mpeg2.c')
-rw-r--r--libavcodec/qsvdec_mpeg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c
index 3378d02a23..5827ce4741 100644
--- a/libavcodec/qsvdec_mpeg2.c
+++ b/libavcodec/qsvdec_mpeg2.c
@@ -173,7 +173,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
.decode = qsv_decode_frame,
.flush = qsv_decode_flush,
.close = qsv_decode_close,
- .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
+ .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
.priv_class = &class,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
AV_PIX_FMT_QSV,