#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 */