summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-11-08 18:51:15 +0000
committerMark Thompson <sw@jkqxz.net>2020-11-08 18:54:42 +0000
commitcd322794eecf1dd7d975ce3dcf1c18bbd8b91ad1 (patch)
tree2757dd5bfe003d81aec1fd21da64e673ee3ce003 /libavcodec/h263dec.c
parent8fbcc546b83e2ce242a0b75054ec2ca304a171df (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/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 3b29a189e9..32e26a57de 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -743,7 +743,7 @@ const enum AVPixelFormat ff_h263_hwaccel_pixfmt_list_420[] = {
AV_PIX_FMT_NONE
};
-const AVCodecHWConfigInternal *ff_h263_hw_config_list[] = {
+const AVCodecHWConfigInternal *const ff_h263_hw_config_list[] = {
#if CONFIG_H263_VAAPI_HWACCEL
HWACCEL_VAAPI(h263),
#endif