[FFmpeg-cvslog] r11772 - trunk/libavcodec/ra288.c
michael
subversion
Fri Feb 1 16:43:54 CET 2008
Author: michael
Date: Fri Feb 1 16:43:53 2008
New Revision: 11772
Log:
const
Modified:
trunk/libavcodec/ra288.c
Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c (original)
+++ trunk/libavcodec/ra288.c Fri Feb 1 16:43:53 2008
@@ -49,7 +49,7 @@ static void colmult(float *tgt, float *m
/* 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 prodsum(float *tgt, float *s
}
}
-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 @@ static void * decode_block(AVCodecContex
/* 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;
More information about the ffmpeg-cvslog
mailing list