aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-27 22:51:28 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-29 14:31:17 +0100
commitba445f5557bf16aeb807bb6c83d7de264f98f375 (patch)
tree52b706131f6163e546b7bb798cbd372a70ea28d8 /libavformat/id3v2.h
parent24fe1a3b1662652df076804fdbfd8b2fd089497e (diff)
downloadffmpeg-ba445f5557bf16aeb807bb6c83d7de264f98f375.tar.gz
id3v2enc: add a function for writing attached pictures.
Unused so far.
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r--libavformat/id3v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index f47abe9d25..88dcbdb812 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -108,6 +108,11 @@ void ff_id3v2_start(ID3v2EncContext *id3, AVIOContext *pb, int id3v2_version,
int ff_id3v2_write_metadata(AVFormatContext *s, ID3v2EncContext *id3);
/**
+ * Write an attached picture from pkt into an ID3v2 tag.
+ */
+int ff_id3v2_write_apic(AVFormatContext *s, ID3v2EncContext *id3, AVPacket *pkt);
+
+/**
* Finalize an opened ID3v2 tag.
*/
void ff_id3v2_finish(ID3v2EncContext *id3, AVIOContext *pb);