aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorMichael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>2011-10-21 23:32:32 +0200
committerDiego Biurrun <diego@biurrun.de>2011-10-23 19:17:53 +0200
commit16ad77b357ebbe74a7bc9568904c328a2722651e (patch)
treee0509b3626572093ed03d14424d16b7e1fa12448 /libavformat/id3v2.h
parent9e66b892e8b5ebfee395457ec05e364158a4e0da (diff)
downloadffmpeg-16ad77b357ebbe74a7bc9568904c328a2722651e.tar.gz
Move id3v2 tag writing to a separate file.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r--libavformat/id3v2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index b5e4894ea3..a296e0315b 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -87,6 +87,14 @@ void ff_id3v2_read(AVFormatContext *s, const char *magic);
void ff_id3v2_read_all(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra_meta);
/**
+ * Write an ID3v2 tag.
+ * @param id3v2_version Subversion of ID3v2; supported values are 3 and 4
+ * @param magic magic bytes to identify the header
+ * If in doubt, use ID3v2_DEFAULT_MAGIC.
+ */
+int ff_id3v2_write(struct AVFormatContext *s, int id3v2_version, const char *magic);
+
+/**
* Free memory allocated parsing special (non-text) metadata.
* @param extra_meta Pointer to a pointer to the head of a ID3v2ExtraMeta list, *extra_meta is set to NULL.
*/