[FFmpeg-soc] [soc]: r1231 - qcelp/qcelpdec.c

reynaldo subversion at mplayerhq.hu
Wed Aug 29 05:56:06 CEST 2007


Author: reynaldo
Date: Wed Aug 29 05:56:06 2007
New Revision: 1231

Log:
Drop useles computation

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Wed Aug 29 05:56:06 2007
@@ -937,7 +937,7 @@ static int qcelp_decode_frame(AVCodecCon
 
     // Copy current lspf freqs over to prev_lspf
 
-    memcpy(q->prev_lspf, qtzd_lspf, 10*sizeof(float));
+    memcpy(q->prev_lspf, qtzd_lspf, sizeof(q->prev_lspf));
 
     q->frame_num++;
     *data_size=160*2;



More information about the FFmpeg-soc mailing list