Mercurial > libavcodec.hg
comparison wmadec.c @ 3195:10cda832bd0f libavcodec
fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
author | michael |
---|---|
date | Mon, 13 Mar 2006 23:29:00 +0000 |
parents | babf844e1308 |
children | d3c05c7dabcd |
comparison
equal
deleted
inserted
replaced
3194:c30e9bcbb716 | 3195:10cda832bd0f |
---|---|
220 WMADecodeContext *s = avctx->priv_data; | 220 WMADecodeContext *s = avctx->priv_data; |
221 int i, flags1, flags2; | 221 int i, flags1, flags2; |
222 float *window; | 222 float *window; |
223 uint8_t *extradata; | 223 uint8_t *extradata; |
224 float bps, bps1; | 224 float bps, bps1; |
225 volatile float high_freq_factor; | 225 volatile float high_freq_factor= 0; //initial value should not matter as the tables build from this are unused if !use_noise_coding |
226 int sample_rate1; | 226 int sample_rate1; |
227 int coef_vlc_table; | 227 int coef_vlc_table; |
228 | 228 |
229 s->sample_rate = avctx->sample_rate; | 229 s->sample_rate = avctx->sample_rate; |
230 s->nb_channels = avctx->channels; | 230 s->nb_channels = avctx->channels; |