diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-26 12:48:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-28 07:50:32 +0200 |
commit | 23f741f79327e31be7b2a75ebb2e02111e06e52f (patch) | |
tree | 7b8620d9fe6c673a180f547f461eb6d3fa4cf517 /libavformat/flacdec.c | |
parent | 4efdadc8ec50332c812e8a95e8c67f5a260e7cb0 (diff) | |
download | ffmpeg-23f741f79327e31be7b2a75ebb2e02111e06e52f.tar.gz |
matroskadec: parse the channel layout mask for FLAC
It is commonly stored in a vorbiscomment block in codec private data.
Diffstat (limited to 'libavformat/flacdec.c')
-rw-r--r-- | libavformat/flacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index ee40a204fe..05286c71cd 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -141,7 +141,7 @@ static int flac_read_header(AVFormatContext *s) if (metadata_type == FLAC_METADATA_TYPE_VORBIS_COMMENT) { AVDictionaryEntry *chmask; - if (ff_vorbis_comment(s, &s->metadata, buffer, metadata_size)) { + if (ff_vorbis_comment(s, &s->metadata, buffer, metadata_size, 1)) { av_log(s, AV_LOG_WARNING, "error parsing VorbisComment metadata\n"); } |