Statistics
| Branch: | Revision:

ffmpeg / libavformat / id3v1.h @ 6cc7f139

History | View | Annotate | Download (1.12 KB)

1 75411182 Patrick Dehne
/*
2
 * ID3v1 header parser
3
 * Copyright (c) 2003 Fabrice Bellard
4
 *
5 2912e87a Mans Rullgard
 * This file is part of Libav.
6 75411182 Patrick Dehne
 *
7 2912e87a Mans Rullgard
 * Libav is free software; you can redistribute it and/or
8 75411182 Patrick Dehne
 * 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 2912e87a Mans Rullgard
 * Libav is distributed in the hope that it will be useful,
13 75411182 Patrick Dehne
 * 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 2912e87a Mans Rullgard
 * License along with Libav; if not, write to the Free Software
19 75411182 Patrick Dehne
 * 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 50fcd5be Patrick Dehne
#include "avformat.h"
26
27 75411182 Patrick Dehne
#define ID3v1_TAG_SIZE 128
28
29 57f36fda Michael Niedermayer
#define ID3v1_GENRE_MAX 147
30 75411182 Patrick Dehne
31
/**
32
 * ID3v1 genres
33
 */
34 ed034f6c Reimar Döffinger
extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
35 75411182 Patrick Dehne
36 50fcd5be Patrick Dehne
/**
37
 * Read an ID3v1 tag
38
 */
39
void ff_id3v1_read(AVFormatContext *s);
40
41 75411182 Patrick Dehne
#endif /* AVFORMAT_ID3V1_H */