annotate ffmpeg/libavformat/apetag.h @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents f445c3017523
children
rev   line source
yading@11 1 /*
yading@11 2 * APE tag handling
yading@11 3 * Copyright (c) 2007 Benjamin Zores <ben@geexbox.org>
yading@11 4 * based upon libdemac from Dave Chapman.
yading@11 5 *
yading@11 6 * This file is part of FFmpeg.
yading@11 7 *
yading@11 8 * FFmpeg is free software; you can redistribute it and/or
yading@11 9 * modify it under the terms of the GNU Lesser General Public
yading@11 10 * License as published by the Free Software Foundation; either
yading@11 11 * version 2.1 of the License, or (at your option) any later version.
yading@11 12 *
yading@11 13 * FFmpeg is distributed in the hope that it will be useful,
yading@11 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
yading@11 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
yading@11 16 * Lesser General Public License for more details.
yading@11 17 *
yading@11 18 * You should have received a copy of the GNU Lesser General Public
yading@11 19 * License along with FFmpeg; if not, write to the Free Software
yading@11 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
yading@11 21 */
yading@11 22
yading@11 23 #ifndef AVFORMAT_APETAG_H
yading@11 24 #define AVFORMAT_APETAG_H
yading@11 25
yading@11 26 #include "avformat.h"
yading@11 27
yading@11 28 #define APE_TAG_PREAMBLE "APETAGEX"
yading@11 29 #define APE_TAG_VERSION 2000
yading@11 30 #define APE_TAG_FOOTER_BYTES 32
yading@11 31
yading@11 32 /**
yading@11 33 * Read and parse an APE tag
yading@11 34 *
yading@11 35 * @return offset of the tag start in the file
yading@11 36 */
yading@11 37 int64_t ff_ape_parse_tag(AVFormatContext *s);
yading@11 38
yading@11 39 /**
yading@11 40 * Write an APEv2 tag
yading@11 41 */
yading@11 42 void ff_ape_write(AVFormatContext *s);
yading@11 43
yading@11 44 #endif /* AVFORMAT_APETAG_H */