lavc: Mark hw_config pointer arrays as const

They are read-only just like the HWConfig structures they point to.
This commit is contained in:
Mark Thompson
2020-11-08 18:51:15 +00:00
parent 8fbcc546b8
commit cd322794ee
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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,
};