diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-07 21:22:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-07 21:22:50 +0000 |
commit | 11d662666dab3e3a74b4cee7cae569f7ae70bce0 (patch) | |
tree | db901cc338d82afbdcf16ef8f95330e2c8335272 /libavcodec/adpcm.c | |
parent | d9ddac2579863101a439bbee573ee4afa149dfaf (diff) | |
download | ffmpeg-11d662666dab3e3a74b4cee7cae569f7ae70bce0.tar.gz |
simplify
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 5 |
1 files 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++) { |