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;
 }
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to