Mercurial > libavcodec.hg
changeset 7511:6766063923df libavcodec
Simplify do_output_subblock(): Remove a unneeded memcpy
author | vitor |
---|---|
date | Wed, 06 Aug 2008 20:38:23 +0000 |
parents | 212e72dbb838 |
children | 60625fc3ec92 |
files | ra144.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ra144.c Wed Aug 06 08:33:25 2008 +0000 +++ b/ra144.c Wed Aug 06 20:38:23 2008 +0000 @@ -203,12 +203,10 @@ 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));