Commit 6c43f33a authored by Paul B Mahol's avatar Paul B Mahol

avcodec/wmaprodec: >2 channel support for XMA

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 90096e42
This diff is collapsed.
......@@ -567,6 +567,9 @@ break_loop:
st->codecpar->block_align == st->codecpar->channels * 4 &&
st->codecpar->bits_per_coded_sample == 24) {
st->codecpar->codec_id = AV_CODEC_ID_PCM_F24LE;
} else if (st->codecpar->codec_id == AV_CODEC_ID_XMA1 ||
st->codecpar->codec_id == AV_CODEC_ID_XMA2) {
st->codecpar->block_align = 2048;
}
ff_metadata_conv_ctx(s, NULL, wav_metadata_conv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment