From 30872fa09be99a0af65d14f28c0c5d91120065f0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 29 Dec 2012 02:44:43 +0100 Subject: [PATCH] ivi_common: Fix use of uninitialized warnings Signed-off-by: Michael Niedermayer --- libavcodec/ivi_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index 504f60f526..21954ec5a4 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -395,10 +395,10 @@ static int ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile AVCodecContext *avctx) { int mbn, blk, num_blocks, num_coeffs, blk_size, scan_pos, run, val, - pos, is_intra, mc_type = 0, mv_x, mv_y, col_mask; + pos, is_intra, mc_type = 0, av_uninit(mv_x), av_uninit(mv_y), col_mask; uint8_t col_flags[8]; int32_t prev_dc, trvec[64]; - uint32_t cbp, sym, lo, hi, quant, buf_offs, q; + uint32_t cbp, av_uninit(sym), lo, hi, quant, buf_offs, q; IVIMbInfo *mb; RVMapDesc *rvmap = band->rv_map; void (*mc_with_delta_func)(int16_t *buf, const int16_t *ref_buf, uint32_t pitch, int mc_type);