Commit 2e04c459 authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11788 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 104b0f77
...@@ -366,13 +366,13 @@ static int wavpack_decode_init(AVCodecContext *avctx) ...@@ -366,13 +366,13 @@ static int wavpack_decode_init(AVCodecContext *avctx)
static int wavpack_decode_frame(AVCodecContext *avctx, static int wavpack_decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
WavpackContext *s = avctx->priv_data; WavpackContext *s = avctx->priv_data;
int16_t *samples = data; int16_t *samples = data;
int samplecount; int samplecount;
int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0; 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; int i, j, id, size, ssize, weights, t;
if (buf_size == 0){ 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