Commit f91f89c2 authored by thilo.borgmann's avatar thilo.borgmann

Replace array operator [] with direct access via pointer.

Solves issue 1657.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21029 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 21471cb2
......@@ -739,7 +739,7 @@ static int decode_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
y = 1 << 19;
for (sb = 0; sb < smp; sb++)
y += MUL64(lpc_cof[sb],raw_samples[smp - (sb + 1)]);
y += MUL64(lpc_cof[sb], *(raw_samples + smp - (sb + 1)));
raw_samples[smp] -= y >> 20;
parcor_to_lpc(smp, quant_cof, lpc_cof);
......@@ -780,7 +780,7 @@ static int decode_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
y = 1 << 19;
for (sb = 0; sb < opt_order; sb++)
y += MUL64(bd->lpc_cof[sb],raw_samples[smp - (sb + 1)]);
y += MUL64(bd->lpc_cof[sb], *(raw_samples + smp - (sb + 1)));
raw_samples[smp] -= y >> 20;
}
......
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