Mercurial > libavformat.hg
diff id3v1.c @ 5160:eb33b7205b3c libavformat
ff_id3v1_genre_str table should be const.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 08:39:41 +0000 |
parents | 9ed3c88ed9ba |
children | 1c7cdbafd33c |
line wrap: on
line diff
--- a/id3v1.c Sun Sep 06 08:36:25 2009 +0000 +++ b/id3v1.c Sun Sep 06 08:39:41 2009 +0000 @@ -22,7 +22,7 @@ #include "id3v1.h" #include "libavcodec/avcodec.h" -const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1] = { +const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1] = { [0] = "Blues", [1] = "Classic Rock", [2] = "Country",