From 11d662666dab3e3a74b4cee7cae569f7ae70bce0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Apr 2007 21:22:50 +0000 Subject: [PATCH] simplify Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/adpcm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index efe12b573e..8ebceb9fd2 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1328,9 +1328,8 @@ static int adpcm_decode_frame(AVCodecContext *avctx, get_bits_long(&gb, 32); /* Channel size */ samplecnt = get_bits_long(&gb, 32); - for (ch = 0; ch < 2; ch++) - for (i = 0; i < 16; i++) - table[ch][i] = get_sbits(&gb, 16); + for (i = 0; i < 32; i++) + table[0][i] = get_sbits(&gb, 16); /* Initialize the previous sample. */ for (ch = 0; ch < 2; ch++) {