changeset 5447:1c7cdbafd33c libavformat

More ID3v1 genres from ffmbc.
author michael
date Sun, 13 Dec 2009 20:51:38 +0000
parents 4211f91f69b1
children 97b8e17cfbd4
files id3v1.c id3v1.h
diffstat 2 files changed, 23 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/id3v1.c	Sun Dec 13 20:27:29 2009 +0000
+++ b/id3v1.c	Sun Dec 13 20:51:38 2009 +0000
@@ -149,6 +149,28 @@
     [123] = "A capella",
     [124] = "Euro-House",
     [125] = "Dance Hall",
+    [126] = "Goa",
+    [127] = "Drum & Bass",
+    [128] = "Club-House",
+    [129] = "Hardcore",
+    [130] = "Terror",
+    [131] = "Indie",
+    [132] = "BritPop",
+    [133] = "Negerpunk",
+    [134] = "Polsk Punk",
+    [135] = "Beat",
+    [136] = "Christian Gangsta",
+    [137] = "Heavy Metal",
+    [138] = "Black Metal",
+    [139] = "Crossover",
+    [140] = "Contemporary C",
+    [141] = "Christian Rock",
+    [142] = "Merengue",
+    [143] = "Salsa",
+    [144] = "Thrash Metal",
+    [145] = "Anime",
+    [146] = "JPop",
+    [147] = "SynthPop",
 };
 
 static void get_string(AVFormatContext *s, const char *key,
--- a/id3v1.h	Sun Dec 13 20:27:29 2009 +0000
+++ b/id3v1.h	Sun Dec 13 20:51:38 2009 +0000
@@ -26,7 +26,7 @@
 
 #define ID3v1_TAG_SIZE 128
 
-#define ID3v1_GENRE_MAX 125
+#define ID3v1_GENRE_MAX 147
 
 /**
  * ID3v1 genres