Commit 00aa7fa7 authored by Michael Niedermayer's avatar Michael Niedermayer

pcm: fix handling of more than 8 channels for planar

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent db9f426c
......@@ -343,7 +343,7 @@ static int pcm_decode_frame(AVCodecContext *avctx, void *data,
int i;
n /= avctx->channels;
for (c = 0; c < avctx->channels; c++) {
samples = s->frame.data[c];
samples = s->frame.extended_data[c];
for (i = n; i > 0; i--) {
AV_WN16A(samples, bytestream_get_le16(&src));
samples += 2;
......
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