mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 15:08:09 +08:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user