diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 12:45:15 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 12:45:15 +0000 |
commit | 1bef65f4fe3cd85a7ea99393da93589dc834c7f5 (patch) | |
tree | 9476019fff24d4d8ea74eb9031e2fbacaa5d57f7 | |
parent | dad6afb4cb8dc98c7edb4370c7b589b90c546395 (diff) | |
download | ffmpeg-1bef65f4fe3cd85a7ea99393da93589dc834c7f5.tar.gz |
Make the id3v1_genre_str array const, not just the strings it points to.
Originally committed as revision 14942 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 1e4f21c5b2..ae63d6c341 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -30,7 +30,7 @@ #define ID3v1_GENRE_MAX 125 -static const char *id3v1_genre_str[ID3v1_GENRE_MAX + 1] = { +static const char * const id3v1_genre_str[ID3v1_GENRE_MAX + 1] = { [0] = "Blues", [1] = "Classic Rock", [2] = "Country", |