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

kmalaussene subversion at mplayerhq.hu
Mon Feb 16 22:42:43 CET 2009


Author: kmalaussene
Date: Mon Feb 16 22:42:43 2009
New Revision: 4063

Log:
Fix decoding of parameters into pitch_gain for MODE_475:
it is only coded for subframe 0 and 2, thus do not need
an increment for every subframe.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Mon Feb 16 22:16:57 2009	(r4062)
+++ amr/amrnbfloatdec.c	Mon Feb 16 22:42:43 2009	(r4063)
@@ -1090,7 +1090,6 @@ static int amrnb_decode_frame(AVCodecCon
             }
             p->pitch_gain[4] =     gains_MODE_475[gains_index_MODE_475 + (subframe&1)][0];
             p->fixed_gain_factor = gains_MODE_475[gains_index_MODE_475 + (subframe&1)][1];
-            index++;
         }
 
         // ^g_c = g_c' * ^gamma_gc



More information about the FFmpeg-soc mailing list