From ba445f5557bf16aeb807bb6c83d7de264f98f375 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 22:51:28 +0100 Subject: id3v2enc: add a function for writing attached pictures. Unused so far. --- libavformat/id3v2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/id3v2.h') diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h index f47abe9d25..88dcbdb812 100644 --- a/libavformat/id3v2.h +++ b/libavformat/id3v2.h @@ -107,6 +107,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. */ -- cgit v1.2.3