Mercurial > libavcodec.hg
diff wmaenc.c @ 5258:4372aeade5dc libavcodec
trivial warning fixes
author | mru |
---|---|
date | Sun, 08 Jul 2007 23:15:08 +0000 |
parents | bff60ecc02f9 |
children | 4de95581b38a |
line wrap: on
line diff
--- a/wmaenc.c Sun Jul 08 23:15:04 2007 +0000 +++ b/wmaenc.c Sun Jul 08 23:15:08 2007 +0000 @@ -94,7 +94,7 @@ } //FIXME use for decoding too -static void init_exp(WMACodecContext *s, int ch, int *exp_param){ +static void init_exp(WMACodecContext *s, int ch, const int *exp_param){ int n; const uint16_t *ptr; float v, *q, max_scale, *q_end; @@ -324,7 +324,7 @@ unsigned char *buf, int buf_size, void *data){ WMACodecContext *s = avctx->priv_data; short *samples = data; - int i, total_gain, best; + int i, total_gain; s->block_len_bits= s->frame_len_bits; //required by non variable block len s->block_len = 1 << s->block_len_bits;