Mercurial > libavcodec.hg
changeset 6294:67e4586d3c1b libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 16:12:00 +0000 |
parents | 2084ab75b08f |
children | d256d072f23d |
files | wavpack.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/wavpack.c Fri Feb 01 16:08:39 2008 +0000 +++ b/wavpack.c Fri Feb 01 16:12:00 2008 +0000 @@ -366,13 +366,13 @@ static int wavpack_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { WavpackContext *s = avctx->priv_data; int16_t *samples = data; int samplecount; int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0; - uint8_t* buf_end = buf + buf_size; + const uint8_t* buf_end = buf + buf_size; int i, j, id, size, ssize, weights, t; if (buf_size == 0){