diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 08:39:41 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 08:39:41 +0000 |
commit | ed034f6c595c188daacdb76abffb0bfd6d66ecb7 (patch) | |
tree | 80bd286ecd1c2ac2be3e882edf0602382a20ca2f /libavformat | |
parent | 4d2a4dfd885942c5b4902a1addf3a90091e9245c (diff) | |
download | ffmpeg-streaming-ed034f6c595c188daacdb76abffb0bfd6d66ecb7.zip ffmpeg-streaming-ed034f6c595c188daacdb76abffb0bfd6d66ecb7.tar.gz |
ff_id3v1_genre_str table should be const.
Originally committed as revision 19781 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/id3v1.c | 2 | ||||
-rw-r--r-- | libavformat/id3v1.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/id3v1.c b/libavformat/id3v1.c index 7281974..cf5cb95 100644 --- a/libavformat/id3v1.c +++ b/libavformat/id3v1.c @@ -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", diff --git a/libavformat/id3v1.h b/libavformat/id3v1.h index b5dcedc..206cab7 100644 --- a/libavformat/id3v1.h +++ b/libavformat/id3v1.h @@ -31,7 +31,7 @@ /** * 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 |