diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-04 18:53:26 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-12-19 23:24:24 +0000 |
commit | 2117725dc56e0d20da641a3311939cf4e2ed9549 (patch) | |
tree | 86ddca3a27083ac02dad069ac2df74819245ce96 /libavcodec/cuvid_hevc.c | |
parent | 2a4d34d462d60799e045c370dc9b2505f18365e7 (diff) | |
download | ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.zip ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.tar.gz |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/cuvid_hevc.c')
-rw-r--r-- | libavcodec/cuvid_hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cuvid_hevc.c b/libavcodec/cuvid_hevc.c index 5de9bca..fcf20bb 100644 --- a/libavcodec/cuvid_hevc.c +++ b/libavcodec/cuvid_hevc.c @@ -266,7 +266,7 @@ static int cuvid_hevc_decode_init(AVCodecContext *avctx) return ff_cuvid_decode_init(avctx, sps->temporal_layer[sps->max_sub_layers - 1].max_dec_pic_buffering + 1); } -AVHWAccel ff_hevc_cuvid_hwaccel = { +const AVHWAccel ff_hevc_cuvid_hwaccel = { .name = "hevc_cuvid", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_HEVC, |