[FFmpeg-soc] [soc]: r1223 - qcelp/qcelpdec.c
reynaldo
subversion at mplayerhq.hu
Wed Aug 29 03:38:29 CEST 2007
Author: reynaldo
Date: Wed Aug 29 03:38:28 2007
New Revision: 1223
Log:
Remove unneded zeroing at decode_init - As suggested by Michael's review
Modified:
qcelp/qcelpdec.c
Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c (original)
+++ qcelp/qcelpdec.c Wed Aug 29 03:38:28 2007
@@ -85,15 +85,8 @@ static int qcelp_decode_init(AVCodecCont
if(q->frame == NULL)
return -1;
- // Enter start decoding state
-
q->frame_num=0;
- 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 ));
- memset(q->formant_mem, 0, sizeof(q->formant_mem));
-
return 0;
}
More information about the FFmpeg-soc
mailing list