summaryrefslogtreecommitdiff
path: root/libavformat/oggparseopus.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/oggparseopus.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/oggparseopus.c')
-rw-r--r--libavformat/oggparseopus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparseopus.c b/libavformat/oggparseopus.c
index babd0f0fa6..cfdf35d2b8 100644
--- a/libavformat/oggparseopus.c
+++ b/libavformat/oggparseopus.c
@@ -74,7 +74,7 @@ static int opus_header(AVFormatContext *avf, int idx)
if (priv->need_comments) {
if (os->psize < 8 || memcmp(packet, "OpusTags", 8))
return AVERROR_INVALIDDATA;
- ff_vorbis_comment(avf, &st->metadata, packet + 8, os->psize - 8);
+ ff_vorbis_comment(avf, &st->metadata, packet + 8, os->psize - 8, 1);
priv->need_comments--;
return 1;
}