[FFmpeg-cvslog] r14648 - trunk/libavcodec/ra144.c

vitor subversion
Wed Aug 6 22:38:24 CEST 2008


Author: vitor
Date: Wed Aug  6 22:38:23 2008
New Revision: 14648

Log:
Simplify do_output_subblock(): Remove a unneeded memcpy

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Wed Aug  6 22:38:23 2008
@@ -203,12 +203,10 @@ static void do_output_subblock(RA144Cont
 
     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));




More information about the ffmpeg-cvslog mailing list