[FFmpeg-soc] [soc]: r1939 - aac/aac.c

andoma subversion at mplayerhq.hu
Thu Feb 28 10:55:38 CET 2008


Author: andoma
Date: Thu Feb 28 10:55:37 2008
New Revision: 1939

Log:
10l: float_to_int16() wants number of samples, not bytes.



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Feb 28 10:55:37 2008
@@ -2131,7 +2131,7 @@ static int output_samples(AVCodecContext
      }
 
     *data_size = 1024 * avccontext->channels * sizeof(uint16_t);
-    ac->dsp.float_to_int16(data, ac->interleaved_output, *data_size);
+    ac->dsp.float_to_int16(data, ac->interleaved_output, 1024 * avccontext->channels);
    return 0;
 }
 



More information about the FFmpeg-soc mailing list