Commit 96c5ba15 authored by Michael Niedermayer's avatar Michael Niedermayer

const

Originally committed as revision 11771 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 01791786
...@@ -251,7 +251,7 @@ static void final(Real144_internal *glob, short *i1, short *i2, void *out, int * ...@@ -251,7 +251,7 @@ static void final(Real144_internal *glob, short *i1, short *i2, void *out, int *
} }
/* Decode 20-byte input */ /* 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 int outbuffer[28];
unsigned short inbuffer[10]; unsigned short inbuffer[10];
...@@ -427,7 +427,7 @@ static void dec2(Real144_internal *glob, int *data, int *inp, int n, int f, int ...@@ -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) */ /* Uncompress one block (20 bytes -> 160*2 bytes) */
static int ra144_decode_frame(AVCodecContext * avctx, static int ra144_decode_frame(AVCodecContext * avctx,
void *vdata, int *data_size, void *vdata, int *data_size,
uint8_t * buf, int buf_size) const uint8_t * buf, int buf_size)
{ {
unsigned int a,b,c; unsigned int a,b,c;
signed short *shptr; signed short *shptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment