[FFmpeg-soc] [soc]: r4041 - in amr: amrnbfloatdata.h amrnbfloatdec.c

kmalaussene subversion at mplayerhq.hu
Wed Feb 11 04:43:23 CET 2009


Author: kmalaussene
Date: Wed Feb 11 04:43:23 2009
New Revision: 4041

Log:
Fix typo: lsf_3_3_MODE_795 -> lsf_3_1_MODE_795 because it is paired with table lsf_3_1.

Modified:
   amr/amrnbfloatdata.h
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdata.h
==============================================================================
--- amr/amrnbfloatdata.h	Wed Feb 11 00:53:33 2009	(r4040)
+++ amr/amrnbfloatdata.h	Wed Feb 11 04:43:23 2009	(r4041)
@@ -1023,7 +1023,7 @@ static const float lsf_3_3_MODE_515[128]
 {  46.6309  ,   -4.15039 , -132.813   ,  -56.3965  }, {-375.977   , -132.813   , -219.971   , -216.309   },
 };
 
-static const float lsf_3_3_MODE_795[512][3] = {
+static const float lsf_3_1_MODE_795[512][3] = {
 {-217.285   , -378.418   , -620.361   }, {-199.951   , -236.816   ,   42.7246  },
 {-201.660   , -301.270   , -186.035   }, {-146.240   ,   -5.37109 ,  154.785   },
 {-197.998   , -240.967   , -220.215   }, { -78.8574  ,   49.5605  ,    6.34766 },

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Wed Feb 11 00:53:33 2009	(r4040)
+++ amr/amrnbfloatdec.c	Wed Feb 11 04:43:23 2009	(r4041)
@@ -302,7 +302,7 @@ static void lsf2lsp_3(AMRContext *p)
         lsf_3_1_tmp = lsf_3_1;
         lsf_3_3_tmp = lsf_3_3_MODE_515;
     }else if(p->cur_frame_mode == MODE_795) {
-        lsf_3_1_tmp = lsf_3_3_MODE_795;
+        lsf_3_1_tmp = lsf_3_1_MODE_795;
         lsf_3_3_tmp = lsf_3_3;
     }else {
         lsf_3_1_tmp = lsf_3_1;



More information about the FFmpeg-soc mailing list