提交 1b72a7e8 编写于 作者: P Piotr Bandurski 提交者: Carl Eugen Hoyos

aiffenc: fix remuxing of qdm2

上级 16dc5f20
......@@ -98,6 +98,12 @@ static int aiff_write_header(AVFormatContext *s)
avio_wb16(pb, 0);
}
if (enc->codec_tag == MKTAG('Q','D','M','2') && enc->extradata_size) {
ffio_wfourcc(pb, "wave");
avio_wb32(pb, enc->extradata_size);
avio_write(pb, enc->extradata, enc->extradata_size);
}
/* Sound data chunk */
ffio_wfourcc(pb, "SSND");
aiff->ssnd = avio_tell(pb); /* Sound chunk size */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册