Mercurial > mplayer.hg
changeset 36387:85c8e2989c90
Add some missing "const".
author | reimar |
---|---|
date | Fri, 25 Oct 2013 19:59:54 +0000 |
parents | 416614dd856b |
children | 542cf5882264 |
files | libmpcodecs/ad_mpg123.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_mpg123.c Thu Oct 24 12:06:41 2013 +0000 +++ b/libmpcodecs/ad_mpg123.c Fri Oct 25 19:59:54 2013 +0000 @@ -175,13 +175,13 @@ * also throw in ID3v2 info which libmpg123 collects anyway. */ static void print_header_compact(struct mpg123_frameinfo *i) { - static const char *smodes[5] = { + static const char * const smodes[5] = { "stereo", "joint-stereo", "dual-channel", "mono", "invalid" }; - static const char *layers[4] = { + static const char * const layers[4] = { "Unknown", "I", "II", "III" }; - static const char *versions[4] = { + static const char * const versions[4] = { "1.0", "2.0", "2.5", "x.x" };