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

superdump subversion at mplayerhq.hu
Mon Aug 4 12:11:36 CEST 2008


Author: superdump
Date: Mon Aug  4 12:11:36 2008
New Revision: 3003

Log:
Silence GCC warning by casting non-const argument to const. This should be safe


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Mon Aug  4 12:11:36 2008
@@ -1870,7 +1870,7 @@ static int mixdown_and_convert_to_int16(
 
         ac->dsp.float_to_int16(data, ac->interleaved_output, 1024 * avccontext->channels);
     } else {
-        ac->dsp.float_to_int16_interleave(data, ac->output_data, 1024, avccontext->channels);
+        ac->dsp.float_to_int16_interleave(data, (const float **)ac->output_data, 1024, avccontext->channels);
     }
 
     return 0;



More information about the FFmpeg-soc mailing list