X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fapetag.h;h=0330c8986ae4ce1a1d2eea4bb49f57ffb4067a8a;hb=6b3484dcbc6fe6a5f3d0919922790592c9d5a608;hp=869fc4b3c061d0bd749561d0ef5cd2ee7d130803;hpb=dc1c79be1bfc76839b1fd277a55e6baad4379498;p=ffmpeg diff --git a/libavformat/apetag.h b/libavformat/apetag.h index 869fc4b3c06..0330c8986ae 100644 --- a/libavformat/apetag.h +++ b/libavformat/apetag.h @@ -25,9 +25,20 @@ #include "avformat.h" +#define APE_TAG_PREAMBLE "APETAGEX" +#define APE_TAG_VERSION 2000 +#define APE_TAG_FOOTER_BYTES 32 + /** * Read and parse an APE tag + * + * @return offset of the tag start in the file + */ +int64_t ff_ape_parse_tag(AVFormatContext *s); + +/** + * Write an APEv2 tag */ -void ff_ape_parse_tag(AVFormatContext *s); +void ff_ape_write(AVFormatContext *s); #endif /* AVFORMAT_APETAG_H */