From cd322794eecf1dd7d975ce3dcf1c18bbd8b91ad1 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 8 Nov 2020 18:51:15 +0000 Subject: lavc: Mark hw_config pointer arrays as const They are read-only just like the HWConfig structures they point to. --- libavcodec/vaapi_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vaapi_encode.c') diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index b3a02459f1..518e5b2c00 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -28,7 +28,7 @@ #include "encode.h" #include "avcodec.h" -const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[] = { +const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[] = { HW_CONFIG_ENCODER_FRAMES(VAAPI, VAAPI), NULL, }; -- cgit v1.2.3