mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
ff_id3v1_genre_str table should be const.
Originally committed as revision 19781 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4d2a4dfd88
commit
ed034f6c59
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue