]> git.sesse.net Git - ffmpeg/commitdiff
aacdec: change type of data in decode_audio_specific_config parameters
authorJanne Grunau <janne-ffmpeg@jannau.net>
Tue, 2 Nov 2010 08:33:10 +0000 (08:33 +0000)
committerJanne Grunau <janne-ffmpeg@jannau.net>
Tue, 2 Nov 2010 08:33:10 +0000 (08:33 +0000)
AVCodecContext.extradata is uint8_t*, silence a warning

Originally committed as revision 25644 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aacdec.c

index f3073c6023b647c1d719860bb46978ebe307d378..607b906e268fd3a023af39271e8f687e970495e7 100644 (file)
@@ -456,7 +456,7 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
 static int decode_audio_specific_config(AACContext *ac,
                                         AVCodecContext *avctx,
                                         MPEG4AudioConfig *m4ac,
-                                        void *data, int data_size)
+                                        const uint8_t *data, int data_size)
 {
     GetBitContext gb;
     int i;