aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-02 14:00:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-02 14:00:23 +0100
commit00aa7fa786e41b5fc8404732453869aa3c14e33a (patch)
treea86e69beb2cbacf45c0b486f6a107539c0238ebb /libavcodec
parentdb9f426caba574719c58de12e68742063c8e7979 (diff)
downloadffmpeg-00aa7fa786e41b5fc8404732453869aa3c14e33a.tar.gz
pcm: fix handling of more than 8 channels for planar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index c00f0b0cb8..85a5fe6ed4 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -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;