summaryrefslogtreecommitdiff
path: root/libavcodec/wavpack.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:12:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:12:00 +0000
commit94ef6d11ac9c9e67990c11539b36966340c522f7 (patch)
treeb1e4ca4040c8f3a2c0553e60894d18efa3bb3b6b /libavcodec/wavpack.c
parent2ab12b39cd71e4155576071a4eb7b79300d373fe (diff)
const
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r--libavcodec/wavpack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c
index 3438ee43ea..025898da85 100644
--- a/libavcodec/wavpack.c
+++ b/libavcodec/wavpack.c
@@ -366,13 +366,13 @@ static int wavpack_decode_init(AVCodecContext *avctx)
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){