diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-26 14:48:56 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-28 09:50:32 +0400 |
commit | 23f741f79327e31be7b2a75ebb2e02111e06e52f (patch) | |
tree | 7b8620d9fe6c673a180f547f461eb6d3fa4cf517 /libavformat/oggparseflac.c | |
parent | 4efdadc8ec50332c812e8a95e8c67f5a260e7cb0 (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/oggparseflac.c')
-rw-r--r-- | libavformat/oggparseflac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |