[FFmpeg-cvslog] r11750 - trunk/libavcodec/adpcm.c

michael subversion
Fri Feb 1 15:36:33 CET 2008


Author: michael
Date: Fri Feb  1 15:36:33 2008
New Revision: 11750

Log:
const


Modified:
   trunk/libavcodec/adpcm.c

Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	(original)
+++ trunk/libavcodec/adpcm.c	Fri Feb  1 15:36:33 2008
@@ -841,7 +841,7 @@ static void xa_decode(short *out, const 
 
 static int adpcm_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     ADPCMContext *c = avctx->priv_data;
     ADPCMChannelStatus *cs;
@@ -849,7 +849,7 @@ static int adpcm_decode_frame(AVCodecCon
     int block_predictor[2];
     short *samples;
     short *samples_end;
-    uint8_t *src;
+    const uint8_t *src;
     int st; /* stereo */
 
     /* DK3 ADPCM accounting variables */
@@ -1214,7 +1214,7 @@ static int adpcm_decode_frame(AVCodecCon
         uint8_t shift;
         unsigned int channel;
         uint16_t *samplesC;
-        uint8_t *srcC;
+        const uint8_t *srcC;
 
         samples_in_chunk = (big_endian ? bytestream_get_be32(&src)
                                        : bytestream_get_le32(&src)) / 28;




More information about the ffmpeg-cvslog mailing list