They are read-only just like the HWConfig structures they point to.
Showing the changes to libavcodec/vaapi_encode.h (1 of 14 files). Show all
Unified · Split
| @@ -49,7 +49,7 @@ enum { · 48 unmodified lines | ||
| 49 | 49 | MAX_TILE_COLS = 20, |
| 50 | 50 | }; |
| 51 | 51 | |
| 52 | −extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[]; | |
| 52 | +extern const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[]; | |
| 53 | 53 | |
| 54 | 54 | enum { |
| 55 | 55 | PICTURE_TYPE_IDR = 0, |