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

reynaldo subversion at mplayerhq.hu
Sat Aug 18 04:36:51 CEST 2007


Author: reynaldo
Date: Sat Aug 18 04:36:51 2007
New Revision: 947

Log:
old habits die hard

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Sat Aug 18 04:36:51 2007
@@ -90,9 +90,9 @@ static int qcelp_decode_init(AVCodecCont
 
     q->frame_num=0;
 
-    memset(q->prev_lspf , 0, 10 *sizeof(float));
-    memset(q->pitchf_mem, 0, 144*sizeof(float));
-    memset(q->pitchp_mem, 0, 144*sizeof(float));
+    memset(q->prev_lspf , 0, sizeof(q->prev_lspf ));
+    memset(q->pitchf_mem, 0, sizeof(q->pitchf_mem));
+    memset(q->pitchp_mem, 0, sizeof(q->pitchp_mem));
 
     /**
      * Fill hammsinc table



More information about the FFmpeg-soc mailing list