X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fnvdec_vp9.c;fp=libavcodec%2Fnvdec_vp9.c;h=3b665a9bc701cf1d74205a95360e15e25d0837cf;hb=3a71bcc213f223428622ac3750fe1a923f2f3ab4;hp=ed06d9141603e78e203499a819682347919c7725;hpb=da4e02b1961572c15d7cd6a701d153155f196477;p=ffmpeg diff --git a/libavcodec/nvdec_vp9.c b/libavcodec/nvdec_vp9.c index ed06d914160..3b665a9bc70 100644 --- a/libavcodec/nvdec_vp9.c +++ b/libavcodec/nvdec_vp9.c @@ -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,