[FFmpeg-soc] [soc]: r2772 - amr/amrnbfloatdec.c
superdump
subversion at mplayerhq.hu
Sun Jul 13 11:39:18 CEST 2008
Author: superdump
Date: Sun Jul 13 11:39:18 2008
New Revision: 2772
Log:
Update the previous frame's fourth subframe LSP vector
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c (original)
+++ amr/amrnbfloatdec.c Sun Jul 13 11:39:18 2008
@@ -1028,6 +1028,9 @@ static int synthesis(AMRContext *p, floa
*/
static void update_state(AMRContext *p) {
+ // update the previous frame's fourth subframe LSP vector
+ memcpy(p->prev_lsp_sub4, p->lsp[3], LP_FILTER_ORDER * sizeof(float));
+
// update the excitation buffer moving the current values into the buffer
// pushing out those no longer needed
memmove(&p->excitation_buf[0], &p->excitation_buf[AMR_SUBFRAME_SIZE],
More information about the FFmpeg-soc
mailing list