]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/apetag.h
oggdec: simplify start time calculation code.
[ffmpeg] / libavformat / apetag.h
index 7727921ca88692f55b2efde330bf2e0cfea87ac4..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
  */
-void ff_ape_parse_tag(AVFormatContext *s);
+int64_t ff_ape_parse_tag(AVFormatContext *s);
 
 /**
  * Write an APEv2 tag