From: Michael Niedermayer Date: Sat, 7 Apr 2007 21:22:50 +0000 (+0000) Subject: simplify X-Git-Tag: v0.5~9390 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=11d662666dab3e3a74b4cee7cae569f7ae70bce0;ds=sidebyside simplify Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk --- 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++) {