diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-11-25 19:24:27 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-11-25 19:24:27 +0000 |
commit | 70b092f7f0867bea62416ec9a86fe5e967829caa (patch) | |
tree | 05093ae0bf09cbe5f89c308792ea9f4df2f5c830 | |
parent | e2c171334683d0888ce992d1e41c8019e7a7bbc8 (diff) | |
download | xine-lib-70b092f7f0867bea62416ec9a86fe5e967829caa.tar.gz xine-lib-70b092f7f0867bea62416ec9a86fe5e967829caa.tar.bz2 |
Avoid any future need to alter ID3_GENRE_COUNT.
-rw-r--r-- | src/demuxers/id3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/id3.c b/src/demuxers/id3.c index bcb07e7e4..0287447ce 100644 --- a/src/demuxers/id3.c +++ b/src/demuxers/id3.c @@ -45,7 +45,7 @@ #include "bswap.h" #include "id3.h" -#define ID3_GENRE_COUNT 148 +#define ID3_GENRE_COUNT (sizeof (id3_genre) / sizeof (id3_genre[0])) static const char* const id3_genre[] = {"Blues", "Classic Rock", "Country", "Dance", "Disco", "Funk", "Grunge", "Hip-Hop", "Jazz", "Metal", |