[FFmpeg-soc] [soc]: r1525 - amr/amrnbfloatdec.c

superdump subversion at mplayerhq.hu
Tue Dec 4 16:08:17 CET 2007


Author: superdump
Date: Tue Dec  4 16:08:17 2007
New Revision: 1525

Log:
Argument of synthesis is supposed to be the pointer to the beginning of the
samples of the current subframe, not the last 10 samples in the last subframe.


Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	(original)
+++ amr/amrnbfloatdec.c	Tue Dec  4 16:08:17 2007
@@ -1206,7 +1206,7 @@ static int amrnb_decode_frame(AVCodecCon
 
 /*** synthesis ***/
 
-        synthesis(p, p->excitation, p->lpc[subframe], p->samples_in, 0);
+        synthesis(p, p->excitation, p->lpc[subframe], &p->samples_in[LP_FILTER_ORDER], 0);
 
 /*** end of synthesis ***/
 



More information about the FFmpeg-soc mailing list