Mercurial > libavformat.hg
diff id3v2.h @ 5016:eb6dd7717805 libavformat
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com
author | diego |
---|---|
date | Thu, 11 Jun 2009 15:26:57 +0000 |
parents | d05b13327b07 |
children | 9ed3c88ed9ba |
line wrap: on
line diff
--- a/id3v2.h Thu Jun 11 05:13:23 2009 +0000 +++ b/id3v2.h Thu Jun 11 15:26:57 2009 +0000 @@ -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_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 */