Mercurial > libavcodec.hg
changeset 6259:ac7171cbf931 libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:36:33 +0000 |
parents | 6412f1a039ba |
children | 0014e6433d96 |
files | adpcm.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/adpcm.c Fri Feb 01 14:30:35 2008 +0000 +++ b/adpcm.c Fri Feb 01 14:36:33 2008 +0000 @@ -841,7 +841,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { ADPCMContext *c = avctx->priv_data; ADPCMChannelStatus *cs; @@ -849,7 +849,7 @@ int block_predictor[2]; short *samples; short *samples_end; - uint8_t *src; + const uint8_t *src; int st; /* stereo */ /* DK3 ADPCM accounting variables */ @@ -1214,7 +1214,7 @@ uint8_t shift; unsigned int channel; uint16_t *samplesC; - uint8_t *srcC; + const uint8_t *srcC; samples_in_chunk = (big_endian ? bytestream_get_be32(&src) : bytestream_get_le32(&src)) / 28;