aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-01-19 21:54:06 +0000
committerAlex Converse <alex.converse@gmail.com>2009-01-19 21:54:06 +0000
commitac3ef4a41b6de8bd0309fe166bb4c544f3d719be (patch)
tree709028defcbd2cfe5c1184fae3778d5a8c3512ae /libavformat/id3v2.h
parent2f642393381659f4a198d9c5a96896eebb23de18 (diff)
downloadffmpeg-ac3ef4a41b6de8bd0309fe166bb4c544f3d719be.tar.gz
Fix probing of files with ID3v2 tags. Discussed at
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html Originally committed as revision 16688 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 */