summaryrefslogtreecommitdiff
path: root/libavformat/oggparsetheora.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-05-26 12:48:56 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-28 07:50:32 +0200
commit23f741f79327e31be7b2a75ebb2e02111e06e52f (patch)
tree7b8620d9fe6c673a180f547f461eb6d3fa4cf517 /libavformat/oggparsetheora.c
parent4efdadc8ec50332c812e8a95e8c67f5a260e7cb0 (diff)
matroskadec: parse the channel layout mask for FLAC
It is commonly stored in a vorbiscomment block in codec private data.
Diffstat (limited to 'libavformat/oggparsetheora.c')
-rw-r--r--libavformat/oggparsetheora.c2
1 files changed, 1 insertions, 1 deletions
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;