Commit 11d66266 authored by Michael Niedermayer's avatar Michael Niedermayer

simplify

Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d9ddac25
......@@ -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++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment