summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec_hevc.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-04 18:53:26 +0000
committerMark Thompson <sw@jkqxz.net>2017-11-26 21:41:19 +0000
commit3a71bcc213f223428622ac3750fe1a923f2f3ab4 (patch)
tree2e4129174f581c9d5fd3d57e6af8df352a5e182b /libavcodec/nvdec_hevc.c
parentda4e02b1961572c15d7cd6a701d153155f196477 (diff)
downloadffmpeg-3a71bcc213f223428622ac3750fe1a923f2f3ab4.tar.gz
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/nvdec_hevc.c')
-rw-r--r--libavcodec/nvdec_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvdec_hevc.c b/libavcodec/nvdec_hevc.c
index f02a7a15fe..58f3fa9b45 100644
--- a/libavcodec/nvdec_hevc.c
+++ b/libavcodec/nvdec_hevc.c
@@ -266,7 +266,7 @@ static int nvdec_hevc_frame_params(AVCodecContext *avctx,
return ff_nvdec_frame_params(avctx, hw_frames_ctx, sps->temporal_layer[sps->max_sub_layers - 1].max_dec_pic_buffering + 1);
}
-AVHWAccel ff_hevc_nvdec_hwaccel = {
+const AVHWAccel ff_hevc_nvdec_hwaccel = {
.name = "hevc_nvdec",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_HEVC,