]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/apetag.h
Merge commit 'f154ef1ae5b03f288dd8c025dab1884b4cb20c1a'
[ffmpeg] / libavformat / apetag.h
index 869fc4b3c061d0bd749561d0ef5cd2ee7d130803..0330c8986ae4ce1a1d2eea4bb49f57ffb4067a8a 100644 (file)
 
 #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 */