Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-11-08 21:51:15 +0300
committerMark Thompson <sw@jkqxz.net>2020-11-08 21:54:42 +0300
commitcd322794eecf1dd7d975ce3dcf1c18bbd8b91ad1 (patch)
tree2757dd5bfe003d81aec1fd21da64e673ee3ce003 /libavcodec/rkmppdec.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/rkmppdec.c')
-rw-r--r--libavcodec/rkmppdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rkmppdec.c b/libavcodec/rkmppdec.c
index 248020d5d6..a60962dc86 100644
--- a/libavcodec/rkmppdec.c
+++ b/libavcodec/rkmppdec.c
@@ -548,7 +548,7 @@ static void rkmpp_flush(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "Failed to reset MPI (code = %d)\n", ret);
}
-static const AVCodecHWConfigInternal *rkmpp_hw_configs[] = {
+static const AVCodecHWConfigInternal *const rkmpp_hw_configs[] = {
HW_CONFIG_INTERNAL(DRM_PRIME),
NULL
};