diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-26 12:48:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-28 07:50:32 +0200 |
commit | 23f741f79327e31be7b2a75ebb2e02111e06e52f (patch) | |
tree | 7b8620d9fe6c673a180f547f461eb6d3fa4cf517 /libavformat/oggparseogm.c | |
parent | 4efdadc8ec50332c812e8a95e8c67f5a260e7cb0 (diff) | |
download | ffmpeg-23f741f79327e31be7b2a75ebb2e02111e06e52f.tar.gz |
matroskadec: parse the channel layout mask for FLAC
It is commonly stored in a vorbiscomment block in codec private data.
Diffstat (limited to 'libavformat/oggparseogm.c')
-rw-r--r-- | libavformat/oggparseogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index 23136257bf..74d9e1054d 100644 --- a/libavformat/oggparseogm.c +++ b/libavformat/oggparseogm.c @@ -97,7 +97,7 @@ ogm_header(AVFormatContext *s, int idx) } else if (bytestream2_peek_byte(&p) == 3) { bytestream2_skip(&p, 7); if (bytestream2_get_bytes_left(&p) > 1) - ff_vorbis_comment(s, &st->metadata, p.buffer, bytestream2_get_bytes_left(&p) - 1); + ff_vorbis_comment(s, &st->metadata, p.buffer, bytestream2_get_bytes_left(&p) - 1, 1); } return 1; |