summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-01-21 19:54:34 +0000
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-22 02:06:10 +0100
commitcb6bc57681b2ec5232e64db176f41fb2517de146 (patch)
treeda1e2226bc122eeff749b3a4fa57029d50ad134f /libavformat/id3v2.h
parent8c3caf7fb1be2eb6eb4683b1a0383cba5c25ee19 (diff)
downloadffmpeg-cb6bc57681b2ec5232e64db176f41fb2517de146.tar.gz
id3v2: split tables for various ID3v2 versions
This is needed for upcoming ID3v2.3 muxing support. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r--libavformat/id3v2.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index c2e1add849..e429001385 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -65,12 +65,25 @@ int ff_id3v2_tag_len(const uint8_t *buf);
*/
void ff_id3v2_read(AVFormatContext *s, const char *magic);
-extern const AVMetadataConv ff_id3v2_metadata_conv[];
+extern const AVMetadataConv ff_id3v2_34_metadata_conv[];
+extern const AVMetadataConv ff_id3v2_4_metadata_conv[];
+extern const AVMetadataConv ff_id3v2_2_metadata_conv[];
/**
- * A list of ID3v2.4 text information frames.
+ * A list of text information frames allowed in both ID3 v2.3 and v2.4
* http://www.id3.org/id3v2.4.0-frames
+ * http://www.id3.org/id3v2.4.0-changes
*/
extern const char ff_id3v2_tags[][4];
+/**
+ * ID3v2.4-only text information frames.
+ */
+extern const char ff_id3v2_4_tags[][4];
+
+/**
+ * ID3v2.3-only text information frames.
+ */
+extern const char ff_id3v2_3_tags[][4];
+
#endif /* AVFORMAT_ID3V2_H */