They are read-only just like the HWConfig structures they point to.
Showing the changes to libavcodec/vaapi_encode.c (1 of 14 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "encode.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | |
| 31 | −const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[] = { | |
| 31 | +const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[] = { | |
| 32 | 32 | HW_CONFIG_ENCODER_FRAMES(VAAPI, VAAPI), |
| 33 | 33 | NULL, |
| 34 | 34 | }; |