They are read-only just like the HWConfig structures they point to.
Showing the changes to libavcodec/codec.h (1 of 14 files). Show all
Unified · Split
| @@ -320,7 +320,7 @@ typedef struct AVCodec { · 319 unmodified lines | |||
| 320 | * | 320 | * |
| 321 | * The user can only access this field via avcodec_get_hw_config(). | 321 | * The user can only access this field via avcodec_get_hw_config(). |
| 322 | */ | 322 | */ |
| 323 | const struct AVCodecHWConfigInternal **hw_configs; | 323 | const struct AVCodecHWConfigInternal *const *hw_configs; |
| 324 | 324 | ||
| 325 | /** | 325 | /** |
| 326 | * List of supported codec_tags, terminated by FF_CODEC_TAGS_END. | 326 | * List of supported codec_tags, terminated by FF_CODEC_TAGS_END. |