Commit 525b49eb authored by reimar's avatar reimar

ff_id3v1_genre_str table should be const.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c4e1f4e7
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "id3v1.h" #include "id3v1.h"
#include "libavcodec/avcodec.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", [0] = "Blues",
[1] = "Classic Rock", [1] = "Classic Rock",
[2] = "Country", [2] = "Country",
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/** /**
* ID3v1 genres * ID3v1 genres
*/ */
extern const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1]; extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
/** /**
* Read an ID3v1 tag * Read an ID3v1 tag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment