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/oggparsetheora.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparsetheora.c') diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c index 035bdc24e2..8a5e1d8351 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -116,7 +116,7 @@ static int theora_header(AVFormatContext *s, int idx) } break; case 0x81: - ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 7); + ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 7, 1); case 0x82: if (!thp->version) return AVERROR_INVALIDDATA; -- cgit v1.2.3