From ac3ef4a41b6de8bd0309fe166bb4c544f3d719be Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Mon, 19 Jan 2009 21:54:06 +0000 Subject: 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 --- libavformat/id3v2.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/id3v2.h') 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 */ -- cgit v1.2.3