From 23f741f79327e31be7b2a75ebb2e02111e06e52f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 26 May 2014 12:48:56 +0200 Subject: matroskadec: parse the channel layout mask for FLAC It is commonly stored in a vorbiscomment block in codec private data. --- libavformat/flacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/flacdec.c') 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"); } -- cgit v1.2.3