Browse Source

pcm: fix handling of more than 8 channels for planar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
00aa7fa786
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcm.c

+ 1
- 1
libavcodec/pcm.c View File

@@ -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;


Loading…
Cancel
Save