Mercurial > libavformat.hg
annotate id3v1.c @ 5016:eb6dd7717805 libavformat
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com
author | diego |
---|---|
date | Thu, 11 Jun 2009 15:26:57 +0000 |
parents | mp3.c@d24b4e25db8d |
children | 1763f7d0d8d0 |
rev | line source |
---|---|
885 | 1 /* |
5016
eb6dd7717805
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
diego
parents:
4900
diff
changeset
|
2 * ID3v1 header parser |
4251
77e0c7511d41
cosmetics: Remove pointless period after copyright statement non-sentences.
diego
parents:
4221
diff
changeset
|
3 * Copyright (c) 2003 Fabrice Bellard |
234 | 4 * |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
5 * This file is part of FFmpeg. |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
6 * |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
234 | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
234 | 11 * |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
234 | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Lesser General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Lesser General Public | |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1321
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
896
edbe5c3717f9
Update licensing information: The FSF changed postal address.
diego
parents:
885
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
234 | 20 */ |
3286 | 21 |
5016
eb6dd7717805
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
diego
parents:
4900
diff
changeset
|
22 #include "id3v1.h" |
234 | 23 |
5016
eb6dd7717805
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
diego
parents:
4900
diff
changeset
|
24 const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1] = { |
234 | 25 [0] = "Blues", |
26 [1] = "Classic Rock", | |
27 [2] = "Country", | |
28 [3] = "Dance", | |
29 [4] = "Disco", | |
30 [5] = "Funk", | |
31 [6] = "Grunge", | |
32 [7] = "Hip-Hop", | |
33 [8] = "Jazz", | |
34 [9] = "Metal", | |
35 [10] = "New Age", | |
36 [11] = "Oldies", | |
37 [12] = "Other", | |
38 [13] = "Pop", | |
39 [14] = "R&B", | |
40 [15] = "Rap", | |
41 [16] = "Reggae", | |
42 [17] = "Rock", | |
43 [18] = "Techno", | |
44 [19] = "Industrial", | |
45 [20] = "Alternative", | |
46 [21] = "Ska", | |
47 [22] = "Death Metal", | |
48 [23] = "Pranks", | |
49 [24] = "Soundtrack", | |
50 [25] = "Euro-Techno", | |
51 [26] = "Ambient", | |
52 [27] = "Trip-Hop", | |
53 [28] = "Vocal", | |
54 [29] = "Jazz+Funk", | |
55 [30] = "Fusion", | |
56 [31] = "Trance", | |
57 [32] = "Classical", | |
58 [33] = "Instrumental", | |
59 [34] = "Acid", | |
60 [35] = "House", | |
61 [36] = "Game", | |
62 [37] = "Sound Clip", | |
63 [38] = "Gospel", | |
64 [39] = "Noise", | |
65 [40] = "AlternRock", | |
66 [41] = "Bass", | |
67 [42] = "Soul", | |
68 [43] = "Punk", | |
69 [44] = "Space", | |
70 [45] = "Meditative", | |
71 [46] = "Instrumental Pop", | |
72 [47] = "Instrumental Rock", | |
73 [48] = "Ethnic", | |
74 [49] = "Gothic", | |
75 [50] = "Darkwave", | |
76 [51] = "Techno-Industrial", | |
77 [52] = "Electronic", | |
78 [53] = "Pop-Folk", | |
79 [54] = "Eurodance", | |
80 [55] = "Dream", | |
81 [56] = "Southern Rock", | |
82 [57] = "Comedy", | |
83 [58] = "Cult", | |
84 [59] = "Gangsta", | |
85 [60] = "Top 40", | |
86 [61] = "Christian Rap", | |
87 [62] = "Pop/Funk", | |
88 [63] = "Jungle", | |
89 [64] = "Native American", | |
90 [65] = "Cabaret", | |
91 [66] = "New Wave", | |
92 [67] = "Psychadelic", | |
93 [68] = "Rave", | |
94 [69] = "Showtunes", | |
95 [70] = "Trailer", | |
96 [71] = "Lo-Fi", | |
97 [72] = "Tribal", | |
98 [73] = "Acid Punk", | |
99 [74] = "Acid Jazz", | |
100 [75] = "Polka", | |
101 [76] = "Retro", | |
102 [77] = "Musical", | |
103 [78] = "Rock & Roll", | |
104 [79] = "Hard Rock", | |
105 [80] = "Folk", | |
106 [81] = "Folk-Rock", | |
107 [82] = "National Folk", | |
108 [83] = "Swing", | |
109 [84] = "Fast Fusion", | |
110 [85] = "Bebob", | |
111 [86] = "Latin", | |
112 [87] = "Revival", | |
113 [88] = "Celtic", | |
114 [89] = "Bluegrass", | |
115 [90] = "Avantgarde", | |
116 [91] = "Gothic Rock", | |
117 [92] = "Progressive Rock", | |
118 [93] = "Psychedelic Rock", | |
119 [94] = "Symphonic Rock", | |
120 [95] = "Slow Rock", | |
121 [96] = "Big Band", | |
122 [97] = "Chorus", | |
123 [98] = "Easy Listening", | |
124 [99] = "Acoustic", | |
125 [100] = "Humour", | |
126 [101] = "Speech", | |
127 [102] = "Chanson", | |
128 [103] = "Opera", | |
129 [104] = "Chamber Music", | |
130 [105] = "Sonata", | |
131 [106] = "Symphony", | |
132 [107] = "Booty Bass", | |
133 [108] = "Primus", | |
134 [109] = "Porn Groove", | |
135 [110] = "Satire", | |
136 [111] = "Slow Jam", | |
137 [112] = "Club", | |
138 [113] = "Tango", | |
139 [114] = "Samba", | |
140 [115] = "Folklore", | |
141 [116] = "Ballad", | |
142 [117] = "Power Ballad", | |
143 [118] = "Rhythmic Soul", | |
144 [119] = "Freestyle", | |
145 [120] = "Duet", | |
146 [121] = "Punk Rock", | |
147 [122] = "Drum Solo", | |
148 [123] = "A capella", | |
149 [124] = "Euro-House", | |
150 [125] = "Dance Hall", | |
151 }; |