Mercurial > libavcodec.hg
changeset 6277:2bd174b8d32e libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 15:43:38 +0000 |
parents | e9cff14a5ae5 |
children | 1454981691cb |
files | ra144.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ra144.c Fri Feb 01 15:41:16 2008 +0000 +++ b/ra144.c Fri Feb 01 15:43:38 2008 +0000 @@ -251,7 +251,7 @@ } /* Decode 20-byte input */ -static void unpack_input(unsigned char *input, unsigned int *output) +static void unpack_input(const unsigned char *input, unsigned int *output) { unsigned int outbuffer[28]; unsigned short inbuffer[10]; @@ -427,7 +427,7 @@ /* Uncompress one block (20 bytes -> 160*2 bytes) */ static int ra144_decode_frame(AVCodecContext * avctx, void *vdata, int *data_size, - uint8_t * buf, int buf_size) + const uint8_t * buf, int buf_size) { unsigned int a,b,c; signed short *shptr;