Mercurial > libavformat.hg
changeset 3761:3a874c41adaf libavformat
Make the id3v1_genre_str array const, not just the strings it points to.
author | reimar |
---|---|
date | Sun, 24 Aug 2008 12:45:15 +0000 |
parents | fde28855a81e |
children | beb15b4fd4c4 |
files | mp3.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3.c Sun Aug 24 05:55:46 2008 +0000 +++ b/mp3.c Sun Aug 24 12:45:15 2008 +0000 @@ -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",