diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 22:08:50 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 14:26:14 +0100 |
commit | 411225aabce57411d1544a7bbc6f6bee6d8ef638 (patch) | |
tree | f3dcc31c02aaf9507f369239950c7c8349248b07 /libavformat/mp3enc.c | |
parent | c19981774880919c7f9417014bdcb1fb63f69231 (diff) | |
download | ffmpeg-411225aabce57411d1544a7bbc6f6bee6d8ef638.tar.gz |
id3v2enc: split ff_id3v2_write().
This will allow writing the tag in several steps, needed for writing
attached pictures.
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r-- | libavformat/mp3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index ce547ead38..ab20c299fe 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -187,7 +187,7 @@ static int mp3_write_header(struct AVFormatContext *s) MP3Context *mp3 = s->priv_data; int ret; - ret = ff_id3v2_write(s, mp3->id3v2_version, ID3v2_DEFAULT_MAGIC); + ret = ff_id3v2_write_simple(s, mp3->id3v2_version, ID3v2_DEFAULT_MAGIC); if (ret < 0) return ret; |