]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvdec_vp9.c
lavc: Mark all AVHWAccel structures as const
[ffmpeg] / libavcodec / nvdec_vp9.c
index ed06d9141603e78e203499a819682347919c7725..3b665a9bc701cf1d74205a95360e15e25d0837cf 100644 (file)
@@ -169,7 +169,7 @@ static int nvdec_vp9_frame_params(AVCodecContext *avctx,
     return ff_nvdec_frame_params(avctx, hw_frames_ctx, 8);
 }
 
-AVHWAccel ff_vp9_nvdec_hwaccel = {
+const AVHWAccel ff_vp9_nvdec_hwaccel = {
     .name                 = "vp9_nvdec",
     .type                 = AVMEDIA_TYPE_VIDEO,
     .id                   = AV_CODEC_ID_VP9,