[FFmpeg-soc] [soc]: r4042 - amr/amrnbfloatdec.c
kmalaussene
subversion at mplayerhq.hu
Wed Feb 11 04:45:28 CET 2009
Author: kmalaussene
Date: Wed Feb 11 04:45:28 2009
New Revision: 4042
Log:
Fix decoding of lsp for mode other than MODE_122 to match reference implementation.
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c Wed Feb 11 04:43:23 2009 (r4041)
+++ amr/amrnbfloatdec.c Wed Feb 11 04:45:28 2009 (r4042)
@@ -326,6 +326,7 @@ static void lsf2lsp_3(AMRContext *p)
lsf_r[4] = lsf_3_2[ idx ][1];
lsf_r[5] = lsf_3_2[ idx ][2];
+ idx = p->amr_prms[2] << 2;
lsf_r[6] = lsf_3_3_tmp[ idx ][0];
lsf_r[7] = lsf_3_3_tmp[ idx ][1];
lsf_r[8] = lsf_3_3_tmp[ idx ][2];
More information about the FFmpeg-soc
mailing list