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

superdump subversion at mplayerhq.hu
Mon Jul 14 00:31:38 CEST 2008


Author: superdump
Date: Mon Jul 14 00:31:38 2008
New Revision: 2778

Log:
Correct sizes of samples_in and samples_out arrays


Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	(original)
+++ amr/amrnbfloatdec.c	Mon Jul 14 00:31:38 2008
@@ -80,8 +80,8 @@ typedef struct AMRContext {
     DSPContext                          dsp;
     float                          add_bias;
     float                          mul_bias;
-    DECLARE_ALIGNED_16(float,    samples_in[LP_FILTER_ORDER + AMR_BLOCK_SIZE]); ///< floating point samples
-    DECLARE_ALIGNED_16(int16_t, samples_out[LP_FILTER_ORDER + AMR_BLOCK_SIZE]); ///< 16-bit signed int samples
+    DECLARE_ALIGNED_16(float,    samples_in[LP_FILTER_ORDER + AMR_SUBFRAME_SIZE]); ///< floating point samples
+    DECLARE_ALIGNED_16(int16_t, samples_out[                  AMR_SUBFRAME_SIZE]); ///< 16-bit signed int samples
 
 } AMRContext;
 



More information about the FFmpeg-soc mailing list