summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/libmodplug.c2
-rw-r--r--libavformat/mov_chan.c2
-rw-r--r--libavformat/rtspcodes.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c
index 3f00dbf2a4..158a63039f 100644
--- a/libavformat/libmodplug.c
+++ b/libavformat/libmodplug.c
@@ -60,7 +60,7 @@ typedef struct ModPlugContext {
AVExpr *expr; ///< parsed color eval expression
} ModPlugContext;
-static const char *var_names[] = {
+static const char * const var_names[] = {
"x", "y",
"w", "h",
"t",
diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c
index e7b5221f08..3b91ed7054 100644
--- a/libavformat/mov_chan.c
+++ b/libavformat/mov_chan.c
@@ -344,7 +344,7 @@ static const struct MovChannelLayoutMap mov_ch_layout_map_9ch[] = {
{ 0, 0 },
};
-static const struct MovChannelLayoutMap *mov_ch_layout_map[] = {
+static const struct MovChannelLayoutMap * const mov_ch_layout_map[] = {
mov_ch_layout_map_misc,
mov_ch_layout_map_1ch,
mov_ch_layout_map_2ch,
diff --git a/libavformat/rtspcodes.h b/libavformat/rtspcodes.h
index d4f762b00c..d4ae0a8ae2 100644
--- a/libavformat/rtspcodes.h
+++ b/libavformat/rtspcodes.h
@@ -74,7 +74,7 @@ RTSP_STATUS_VERSION =505,
RTSP_STATUS_UNSUPPORTED_OPTION =551,
};
-static const av_unused char *rtsp_status_strings[] = {
+static const av_unused char * const rtsp_status_strings[] = {
[RTSP_STATUS_CONTINUE] ="Continue",
[RTSP_STATUS_OK] ="OK",
[RTSP_STATUS_CREATED] ="Created",