diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-27 00:14:14 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-06-01 10:32:33 +0400 |
commit | e19d48dfce52f1417f7f06143b96fed00cbcdc52 (patch) | |
tree | 3d031e577a222bedcb5456aa850938ef0d9bc4fe /libavformat/matroskaenc.c | |
parent | 0097cbea695e534fce39958ccd103af2fbf65831 (diff) |
flac muxer: support reading updated extradata from side data
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r-- | libavformat/matroskaenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 919cdfd722..7d3050eaeb 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -477,7 +477,8 @@ static int put_flac_codecpriv(AVFormatContext *s, int write_comment = (codec->channel_layout && !(codec->channel_layout & ~0x3ffffULL) && !ff_flac_is_native_layout(codec->channel_layout)); - int ret = ff_flac_write_header(pb, codec, !write_comment); + int ret = ff_flac_write_header(pb, codec->extradata, codec->extradata_size, + !write_comment); if (ret < 0) return ret; |