diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:26:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:26:31 +0000 |
commit | 7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch) | |
tree | 12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/nellymoserdec.c | |
parent | ff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff) | |
download | ffmpeg-7993df65275a9a9bf0a04c37d1aa31901d3ebb0c.tar.gz |
consts
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r-- | libavcodec/nellymoserdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index aae3c03500..7c83bd5620 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -274,7 +274,7 @@ static void get_sample_bits(const float *buf, int *bits) } } -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_init(AVCodecContext * avctx) { 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; |