projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99423fa
)
Simplify do_output_subblock(): Remove a unneeded memcpy
author
Vitor Sessak
<vitor1001@gmail.com>
Wed, 6 Aug 2008 20:38:23 +0000
(20:38 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Wed, 6 Aug 2008 20:38:23 +0000
(20:38 +0000)
Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
4a3bc68
..
357d5b5
100644
(file)
--- a/
libavcodec/ra144.c
+++ b/
libavcodec/ra144.c
@@
-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));