FFmpeg
libavformat
apetag.h
Go to the documentation of this file.
1
/*
2
* APE tag handling
3
* Copyright (c) 2007 Benjamin Zores <ben@geexbox.org>
4
* based upon libdemac from Dave Chapman.
5
*
6
* This file is part of FFmpeg.
7
*
8
* FFmpeg is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* FFmpeg is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with FFmpeg; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
#ifndef AVFORMAT_APETAG_H
24
#define AVFORMAT_APETAG_H
25
26
#include "
avformat.h
"
27
28
#define APE_TAG_PREAMBLE "APETAGEX"
29
#define APE_TAG_VERSION 2000
30
#define APE_TAG_FOOTER_BYTES 32
31
#define APE_TAG_HEADER_BYTES 32
32
33
/**
34
* Read and parse an APE tag
35
*
36
* @return offset of the tag start in the file
37
*/
38
int64_t
ff_ape_parse_tag
(
AVFormatContext
*
s
);
39
40
/**
41
* Write an APE tag into a file.
42
*/
43
int
ff_ape_write_tag
(
AVFormatContext
*
s
);
44
45
#endif
/* AVFORMAT_APETAG_H */
s
#define s(width, name)
Definition:
cbs_vp9.c:257
AVFormatContext
Format I/O context.
Definition:
avformat.h:1200
ff_ape_write_tag
int ff_ape_write_tag(AVFormatContext *s)
Write an APE tag into a file.
Definition:
apetag.c:175
avformat.h
ff_ape_parse_tag
int64_t ff_ape_parse_tag(AVFormatContext *s)
Read and parse an APE tag.
Definition:
apetag.c:108
Generated on Wed Aug 24 2022 21:38:19 for FFmpeg by
1.8.17