diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-11-08 18:51:15 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-11-08 18:54:42 +0000 |
commit | cd322794eecf1dd7d975ce3dcf1c18bbd8b91ad1 (patch) | |
tree | 2757dd5bfe003d81aec1fd21da64e673ee3ce003 /libavcodec/vaapi_encode.h | |
parent | 8fbcc546b83e2ce242a0b75054ec2ca304a171df (diff) |
lavc: Mark hw_config pointer arrays as const
They are read-only just like the HWConfig structures they point to.
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r-- | libavcodec/vaapi_encode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index aa2a45bca6..b41604a883 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -49,7 +49,7 @@ enum { MAX_TILE_COLS = 20, }; -extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[]; +extern const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[]; enum { PICTURE_TYPE_IDR = 0, |