Commit 94ef6d11 authored by Michael Niedermayer's avatar Michael Niedermayer

const

Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2ab12b39
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment