matroskadec: parse the channel layout mask for FLAC
It is commonly stored in a vorbiscomment block in codec private data.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user