aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorPatrick Dehne <patrick@mysonicweb.com>2009-06-11 15:26:57 +0000
committerDiego Biurrun <diego@biurrun.de>2009-06-11 15:26:57 +0000
commit7541118286470038b97edd0070f3712d98397065 (patch)
treea78f0088450ceec260f10aede6c7fb09efcea098 /libavformat/id3v2.h
parentdc8229015c18d391797529ab84a8d11446fd94d0 (diff)
downloadffmpeg-7541118286470038b97edd0070f3712d98397065.tar.gz
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com Originally committed as revision 19155 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 6d62f11f3b..f7b8627593 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -23,6 +23,7 @@
#define AVFORMAT_ID3V2_H
#include <stdint.h>
+#include "avformat.h"
#define ID3v2_HEADER_SIZE 10
@@ -39,4 +40,10 @@ int ff_id3v2_match(const uint8_t *buf);
*/
int ff_id3v2_tag_len(const uint8_t *buf);
+/**
+ * ID3v2 parser
+ * Handles ID3v2.2, 2.3 and 2.4.
+ */
+void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags);
+
#endif /* AVFORMAT_ID3V2_H */