/*1* APE tag handling2* Copyright (c) 2007 Benjamin Zores <[email protected]>3* based upon libdemac from Dave Chapman.4*5* This file is part of FFmpeg.6*7* FFmpeg is free software; you can redistribute it and/or8* modify it under the terms of the GNU Lesser General Public9* License as published by the Free Software Foundation; either10* 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 of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU15* Lesser General Public License for more details.16*17* You should have received a copy of the GNU Lesser General Public18* License along with FFmpeg; if not, write to the Free Software19* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA20*/2122#ifndef AVFORMAT_APETAG_H23#define AVFORMAT_APETAG_H2425#include "avformat.h"2627#define APE_TAG_PREAMBLE "APETAGEX"28#define APE_TAG_VERSION 200029#define APE_TAG_FOOTER_BYTES 323031/**32* Read and parse an APE tag33*34* @return offset of the tag start in the file35*/36int64_t ff_ape_parse_tag(AVFormatContext *s);3738/**39* Write an APE tag into a file.40*/41int ff_ape_write_tag(AVFormatContext *s);4243#endif /* AVFORMAT_APETAG_H */444546