summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r--libavformat/id3v2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index f54e29054b..6d62f11f3b 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -32,4 +32,11 @@
*/
int ff_id3v2_match(const uint8_t *buf);
+/**
+ * Gets the length of an ID3v2 tag.
+ * @buf must be ID3v2_HEADER_SIZE bytes long and point to the start of an
+ * already detected ID3v2 tag
+ */
+int ff_id3v2_tag_len(const uint8_t *buf);
+
#endif /* AVFORMAT_ID3V2_H */