comparison flacdec.c @ 8952:49817775b44f libavcodec

flacdec: Silence false positive warning about uninitialized variables in decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).
author jbr
date Mon, 16 Feb 2009 22:23:47 +0000
parents 329e332e829f
children 7eedb5796dd8
comparison
equal deleted inserted replaced
8951:533777a86f12 8952:49817775b44f
274 274
275 static int decode_subframe_fixed(FLACContext *s, int channel, int pred_order) 275 static int decode_subframe_fixed(FLACContext *s, int channel, int pred_order)
276 { 276 {
277 const int blocksize = s->blocksize; 277 const int blocksize = s->blocksize;
278 int32_t *decoded = s->decoded[channel]; 278 int32_t *decoded = s->decoded[channel];
279 int a, b, c, d, i; 279 int av_uninit(a), av_uninit(b), av_uninit(c), av_uninit(d), i;
280 280
281 /* warm up samples */ 281 /* warm up samples */
282 for (i = 0; i < pred_order; i++) { 282 for (i = 0; i < pred_order; i++) {
283 decoded[i] = get_sbits(&s->gb, s->curr_bps); 283 decoded[i] = get_sbits(&s->gb, s->curr_bps);
284 } 284 }