Author: kmalaussene
Date: Thu Feb 12 03:46:27 2009
New Revision: 4046
Log:
Fix r4042 decoding of lsp for mode other than MODE_122:
the tables in reference code are flat arrays where lsf_* tables are [][].
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c Thu Feb 12 00:19:29 2009 (r4045)
+++ amr/amrnbfloatdec.c Thu Feb 12 03:46:27 2009 (r4046)
@@ -340,7 +340,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;
+ idx = p->amr_prms[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];
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc