Commit b0c82e50 authored by vitor's avatar vitor

Simplify do_output_subblock(): Remove a unneeded memcpy

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14648 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 37ac4de5
......@@ -203,12 +203,10 @@ static void do_output_subblock(RA144Context *ractx, const uint16_t *lpc_coefs,
memcpy(ractx->curr_sblock, ractx->curr_sblock + 40,
10*sizeof(*ractx->curr_sblock));
memcpy(ractx->curr_sblock + 10, block,
BLOCKSIZE*sizeof(*ractx->curr_sblock));
if (ff_acelp_lp_synthesis_filter(
ractx->curr_sblock + 10, lpc_coefs,
ractx->curr_sblock + 10, BLOCKSIZE,
block, BLOCKSIZE,
10, 1, 0xfff)
)
memset(ractx->curr_sblock, 0, 50*sizeof(*ractx->curr_sblock));
......
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