]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvdec_mpeg2.c
lavc: mark the old audio/video encoding API as deprecated
[ffmpeg] / libavcodec / qsvdec_mpeg2.c
index 3378d02a23309c7a32b2bc2f6da05b09ccaf6b0a..c319ac0df18e05f1a63c819cce1770cf5b2e3bf8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Intel MediaSDK QSV based MPEG2 decoder
+ * Intel MediaSDK QSV based MPEG-2 decoder
  *
  * copyright (c) 2015 Anton Khirnov
  *
@@ -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,