60 [33] =
"Instrumental",
73 [46] =
"Instrumental Pop",
74 [47] =
"Instrumental Rock",
78 [51] =
"Techno-Industrial",
83 [56] =
"Southern Rock",
88 [61] =
"Christian Rap",
91 [64] =
"Native American",
105 [78] =
"Rock & Roll",
109 [82] =
"National Folk",
111 [84] =
"Fast Fusion",
118 [91] =
"Gothic Rock",
119 [92] =
"Progressive Rock",
120 [93] =
"Psychedelic Rock",
121 [94] =
"Symphonic Rock",
125 [98] =
"Easy Listening",
131 [104] =
"Chamber Music",
134 [107] =
"Booty Bass",
136 [109] =
"Porn Groove",
144 [117] =
"Power Ballad",
145 [118] =
"Rhythmic Soul",
150 [123] =
"A Cappella",
151 [124] =
"Euro-House",
152 [125] =
"Dance Hall",
154 [127] =
"Drum & Bass",
155 [128] =
"Club-House",
156 [129] =
"Hardcore Techno",
161 [134] =
"Polsk Punk",
163 [136] =
"Christian Gangsta Rap",
164 [137] =
"Heavy Metal",
165 [138] =
"Black Metal",
167 [140] =
"Contemporary Christian",
168 [141] =
"Christian Rock",
171 [144] =
"Thrash Metal",
187 [160] =
"Electroclash",
189 [162] =
"Experimental",
194 [167] =
"Industro-Goth",
200 [173] =
"New Romantic",
206 [179] =
"Space Rock",
208 [181] =
"World Music",
209 [182] =
"Neoclassical",
211 [184] =
"Audio Theatre",
212 [185] =
"Neue Deutsche Welle",
214 [187] =
"Indie Rock",
217 [190] =
"Garage Rock",
222 const uint8_t *buf,
int buf_size)
225 char *q, str[512], *first_free_space =
NULL;
228 for(
i = 0;
i < buf_size;
i++) {
232 if ((q - str) >=
sizeof(str) - 1)
235 if (!first_free_space)
236 first_free_space = q;
238 first_free_space =
NULL;
244 if (first_free_space)
245 *first_free_space =
'\0';
260 if (!(buf[0] ==
'T' &&
269 if (buf[125] == 0 && buf[126] != 0) {
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
int64_t avio_size(AVIOContext *s)
Get the filesize.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
#define i(width, name, range_min, range_max)
static int64_t filesize(AVIOContext *pb)
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags)
Set the given entry in *pm, overwriting an existing entry.
int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value, int flags)
Convenience wrapper for av_dict_set() that converts the value to a string and stores it.
void ff_id3v1_read(AVFormatContext *s)
Read an ID3v1 tag.
const char *const ff_id3v1_genre_str[ID3v1_GENRE_MAX+1]
ID3v1 genres.
static int parse_tag(AVFormatContext *s, const uint8_t *buf)
Parse an ID3v1 tag.
static void get_string(AVFormatContext *s, const char *key, const uint8_t *buf, int buf_size)