diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 22:51:28 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 14:31:17 +0100 |
commit | ba445f5557bf16aeb807bb6c83d7de264f98f375 (patch) | |
tree | 52b706131f6163e546b7bb798cbd372a70ea28d8 /libavformat/id3v2.h | |
parent | 24fe1a3b1662652df076804fdbfd8b2fd089497e (diff) | |
download | ffmpeg-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.h | 5 |
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); |