summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc_hevc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-26 15:58:40 -0300
committerJames Almer <jamrial@gmail.com>2017-09-26 16:02:40 -0300
commit318778de9ebec276cb9dfc65509231ca56590d13 (patch)
tree795c3dc73c18c00f7ce2b09f91184e09d529d332 /libavcodec/qsvenc_hevc.c
parent2508e606fba86f2e460eebb045e29e1f069a4d72 (diff)
parentfd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (diff)
Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const. Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
-rw-r--r--libavcodec/qsvenc_hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index 7d4d55bb61..b0e5ace7c7 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -161,8 +161,8 @@ static av_cold int qsv_enc_init(AVCodecContext *avctx)
int ret;
if (q->load_plugin != LOAD_PLUGIN_NONE) {
- static const char *uid_hevcenc_sw = "2fca99749fdb49aeb121a5b63ef568f7";
- static const char *uid_hevcenc_hw = "6fadc791a0c2eb479ab6dcd5ea9da347";
+ static const char * const uid_hevcenc_sw = "2fca99749fdb49aeb121a5b63ef568f7";
+ static const char * const uid_hevcenc_hw = "6fadc791a0c2eb479ab6dcd5ea9da347";
if (q->qsv.load_plugins[0]) {
av_log(avctx, AV_LOG_WARNING,