Mercurial > libavcodec.hg
diff nellymoserdec.c @ 6218:dfdff1ca78a7 libavcodec
consts
I have underestimated this a little, and these are just some ...
| author | michael |
|---|---|
| date | Fri, 01 Feb 2008 03:26:31 +0000 |
| parents | 2fa5d656af8e |
| children | 48759bfbd073 |
line wrap: on
line diff
--- a/nellymoserdec.c Fri Feb 01 02:36:09 2008 +0000 +++ b/nellymoserdec.c Fri Feb 01 03:26:31 2008 +0000 @@ -274,7 +274,7 @@ } } -void nelly_decode_block(NellyMoserDecodeContext *s, unsigned char block[NELLY_BLOCK_LEN], float audio[NELLY_SAMPLES]) +void nelly_decode_block(NellyMoserDecodeContext *s, const unsigned char block[NELLY_BLOCK_LEN], float audio[NELLY_SAMPLES]) { int i,j; float buf[NELLY_FILL_LEN], pows[NELLY_FILL_LEN]; @@ -358,7 +358,7 @@ static int decode_tag(AVCodecContext * avctx, void *data, int *data_size, - uint8_t * buf, int buf_size) { + const uint8_t * buf, int buf_size) { NellyMoserDecodeContext *s = avctx->priv_data; int blocks, i; int16_t* samples;
