diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-25 09:45:38 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 14:14:48 +0100 |
commit | a93b09cb45b86427d6e81fa51c660877d8d5fd17 (patch) | |
tree | 4a9b4c45aecebcaf842f5f8efe07bcc1ba747299 /libavformat/id3v2.h | |
parent | b73ad746606e193aa3e2dde20ce8afeeb8fa7e0e (diff) | |
download | ffmpeg-a93b09cb45b86427d6e81fa51c660877d8d5fd17.tar.gz |
id3v2: read attached pictures and export them in ID3v2ExtraMeta.
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r-- | libavformat/id3v2.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h index a296e0315b..f358d02892 100644 --- a/libavformat/id3v2.h +++ b/libavformat/id3v2.h @@ -24,6 +24,7 @@ #include <stdint.h> #include "avformat.h" +#include "internal.h" #include "metadata.h" #define ID3v2_HEADER_SIZE 10 @@ -59,6 +60,14 @@ typedef struct ID3v2ExtraMetaGEOB { uint8_t *data; } ID3v2ExtraMetaGEOB; +typedef struct ID3v2ExtraMetaAPIC { + uint8_t *data; + int len; + const char *type; + uint8_t *description; + enum CodecID id; +} ID3v2ExtraMetaAPIC; + /** * Detect ID3v2 Header. * @param buf must be ID3v2_HEADER_SIZE byte long @@ -120,4 +129,8 @@ extern const char ff_id3v2_4_tags[][4]; */ extern const char ff_id3v2_3_tags[][4]; +extern const CodecMime ff_id3v2_mime_tags[]; + +extern const char *ff_id3v2_picture_types[21]; + #endif /* AVFORMAT_ID3V2_H */ |