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
@@ -320,7 +320,7 @@ typedef struct AVCodec {
*
* The user can only access this field via avcodec_get_hw_config().
*/
const struct AVCodecHWConfigInternal **hw_configs;
const struct AVCodecHWConfigInternal *const *hw_configs;
/**
* List of supported codec_tags, terminated by FF_CODEC_TAGS_END.