summaryrefslogtreecommitdiff
path: root/libavformat/vorbiscomment.c
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-10-27 05:02:29 +0000
committerAnton Khirnov <wyskas@gmail.com>2010-10-27 05:02:29 +0000
commit042ca05f0fdc5f4d56a3e9b94bc9cd67bca9a4bc (patch)
tree4ffb69760275cb8439ffad13c75c147265c7be7b /libavformat/vorbiscomment.c
parent47bfe49c649b0ad8fc654de9acfc70971c43a911 (diff)
vorbiscomment: convert metadata before computing the header's length
Originally committed as revision 25586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/vorbiscomment.c')
-rw-r--r--libavformat/vorbiscomment.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/vorbiscomment.c b/libavformat/vorbiscomment.c
index d141b9dede..59a403f209 100644
--- a/libavformat/vorbiscomment.c
+++ b/libavformat/vorbiscomment.c
@@ -55,7 +55,6 @@ int ff_vorbiscomment_length(AVMetadata *m, const char *vendor_string,
int ff_vorbiscomment_write(uint8_t **p, AVMetadata **m,
const char *vendor_string, const unsigned count)
{
- ff_metadata_conv(m, ff_vorbiscomment_metadata_conv, NULL);
bytestream_put_le32(p, strlen(vendor_string));
bytestream_put_buffer(p, vendor_string, strlen(vendor_string));
if (*m) {