diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-29 00:32:32 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-29 18:57:25 +0200 |
commit | d9e2aceb7f1c712a52672129ca7971872b030e1e (patch) | |
tree | 7d6518b6bf431d2ee46f926a87e3fb01101c63ec /libavformat | |
parent | be4aac302b0cbeab6da9e3192318aad7379a6428 (diff) | |
download | ffmpeg-d9e2aceb7f1c712a52672129ca7971872b030e1e.tar.gz |
Add missing "const" all over the place.
Only "./configure --enable-gpl" on x86 was tested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/libmodplug.c | 2 | ||||
-rw-r--r-- | libavformat/mov_chan.c | 2 | ||||
-rw-r--r-- | libavformat/rtspcodes.h | 2 |
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", |