FFmpeg
libavformat
id3v1.h
Go to the documentation of this file.
1
/*
2
* ID3v1 header parser
3
* Copyright (c) 2003 Fabrice Bellard
4
*
5
* This file is part of FFmpeg.
6
*
7
* FFmpeg is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* FFmpeg is distributed in the hope that it will be useful,
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
18
* License along with FFmpeg; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#ifndef AVFORMAT_ID3V1_H
23
#define AVFORMAT_ID3V1_H
24
25
#include "
avformat.h
"
26
27
#define ID3v1_TAG_SIZE 128
28
29
#define ID3v1_GENRE_MAX 191
30
31
/**
32
* ID3v1 genres
33
*/
34
extern
const
char
*
const
ff_id3v1_genre_str
[
ID3v1_GENRE_MAX
+ 1];
35
36
/**
37
* Read an ID3v1 tag
38
*/
39
void
ff_id3v1_read
(
AVFormatContext
*
s
);
40
41
#endif
/* AVFORMAT_ID3V1_H */
ID3v1_GENRE_MAX
#define ID3v1_GENRE_MAX
Definition:
id3v1.h:29
s
#define s(width, name)
Definition:
cbs_vp9.c:198
ff_id3v1_read
void ff_id3v1_read(AVFormatContext *s)
Read an ID3v1 tag.
Definition:
id3v1.c:278
AVFormatContext
Format I/O context.
Definition:
avformat.h:1300
ff_id3v1_genre_str
const char *const ff_id3v1_genre_str[ID3v1_GENRE_MAX+1]
ID3v1 genres.
Definition:
id3v1.c:26
avformat.h
Generated on Thu Dec 12 2024 19:22:39 for FFmpeg by
1.8.17