changeset 6278:1454981691cb libavcodec

const
author michael
date Fri, 01 Feb 2008 15:43:53 +0000
parents 2bd174b8d32e
children a6b0998e45d1
files ra288.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Fri Feb 01 15:43:38 2008 +0000
+++ b/ra288.c	Fri Feb 01 15:43:53 2008 +0000
@@ -49,7 +49,7 @@
 
 
 /* initial decode */
-static void unpack(unsigned short *tgt, unsigned char *src, unsigned int len)
+static void unpack(unsigned short *tgt, const unsigned char *src, unsigned int len)
 {
   int x,y,z;
   int n,temp;
@@ -208,7 +208,7 @@
   }
 }
 
-static void * decode_block(AVCodecContext * avctx, unsigned char *in, signed short int *out,unsigned len)
+static void * decode_block(AVCodecContext * avctx, const unsigned char *in, signed short int *out,unsigned len)
 {
   int x,y;
   Real288_internal *glob=avctx->priv_data;
@@ -228,7 +228,7 @@
 /* Decode a block (celp) */
 static int ra288_decode_frame(AVCodecContext * avctx,
             void *data, int *data_size,
-            uint8_t * buf, int buf_size)
+            const uint8_t * buf, int buf_size)
 {
     void *datao;