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/oggparseflac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparseflac.c') diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index f59b4008dc..7808aad80c 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -69,7 +69,7 @@ flac_header (AVFormatContext * s, int idx) avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate); } else if (mdt == FLAC_METADATA_TYPE_VORBIS_COMMENT) { - ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 4, os->psize - 4); + ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 4, os->psize - 4, 1); } return 1; -- cgit v1.2.3