diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:43:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:43:38 +0000 |
commit | 96c5ba1584233d0b6d6cb462915e1a790bb7573b (patch) | |
tree | ac8a4a6ff732b1b5924b5bf9bf50d892eab821ce | |
parent | 017917866651453df10b945bcdc857394217a78d (diff) | |
download | ffmpeg-96c5ba1584233d0b6d6cb462915e1a790bb7573b.tar.gz |
const
Originally committed as revision 11771 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ra144.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index e308c59e58..30fd4a4171 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -251,7 +251,7 @@ static void final(Real144_internal *glob, short *i1, short *i2, void *out, int * } /* 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 @@ static void dec2(Real144_internal *glob, int *data, int *inp, int n, int f, int /* 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; |