summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2010-03-20 13:36:43 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-03-20 13:36:43 +0000
commit66061a1220bc91b216e2a59f6f779c7140a1d198 (patch)
treeab922f26c63401fbeeaec0adc8c17c513ee701be /libavformat/matroskaenc.c
parent64f6e357fdf955e67017dfd34ed06b1478b403e2 (diff)
downloadffmpeg-66061a1220bc91b216e2a59f6f779c7140a1d198.tar.gz
Add VorbisComment writing to FLAC files.
Patch by James Darnley <james darnley at gmail>. Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 4263079cb1..5204e903c6 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -470,7 +470,7 @@ static int mkv_write_codecprivate(AVFormatContext *s, ByteIOContext *pb, AVCodec
if (codec->codec_id == CODEC_ID_VORBIS || codec->codec_id == CODEC_ID_THEORA)
ret = put_xiph_codecpriv(s, dyn_cp, codec);
else if (codec->codec_id == CODEC_ID_FLAC)
- ret = ff_flac_write_header(dyn_cp, codec);
+ ret = ff_flac_write_header(dyn_cp, codec, 1);
else if (codec->codec_id == CODEC_ID_H264)
ret = ff_isom_write_avcc(dyn_cp, codec->extradata, codec->extradata_size);
else if (codec->extradata_size)