diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:43:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:43:53 +0000 |
commit | 3cc89383f7c4cf6d43184202f6a2ad112792c113 (patch) | |
tree | ec31bf266b9066e527cb1d5deef0d51a56eae6bb /libavcodec | |
parent | 96c5ba1584233d0b6d6cb462915e1a790bb7573b (diff) | |
download | ffmpeg-3cc89383f7c4cf6d43184202f6a2ad112792c113.tar.gz |
const
Originally committed as revision 11772 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ra288.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 9ba5209ab4..ad36ff2ecc 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -49,7 +49,7 @@ static void colmult(float *tgt, float *m1, const float *m2, int n); /* 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 *src, int len, int n) } } -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(AVCodecContext * avctx, unsigned char *in, signed sho /* 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; |