From 3a71bcc213f223428622ac3750fe1a923f2f3ab4 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 4 Nov 2017 18:53:26 +0000 Subject: lavc: Mark all AVHWAccel structures as const --- libavcodec/vaapi_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vaapi_hevc.c') diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c index 718ccc92a2..19aabcdb52 100644 --- a/libavcodec/vaapi_hevc.c +++ b/libavcodec/vaapi_hevc.c @@ -423,7 +423,7 @@ static int vaapi_hevc_decode_slice(AVCodecContext *avctx, return 0; } -AVHWAccel ff_hevc_vaapi_hwaccel = { +const AVHWAccel ff_hevc_vaapi_hwaccel = { .name = "hevc_vaapi", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_HEVC, -- cgit v1.2.3