From: Frank Galligan Date: Wed, 17 Apr 2013 22:46:12 +0000 (-0700) Subject: libvpx: Fix vp9 clang build. X-Git-Tag: v1.3.0~1146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bb8ecad02e2dd1edd6495b2eb8162eb591ba171;p=libvpx libvpx: Fix vp9 clang build. - UNINITIALIZED_IS_SAFE Macro triggers a warning in Clang for structs. Change-Id: Ib02c82f1fede7826564e17ccb7171c6fb18b8e44 --- diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index fea6433b2..eb1b4896e 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -1550,7 +1550,7 @@ static void decode_tiles(VP9D_COMP *pbi, if (pbi->oxcf.inv_tile_order) { const int n_cols = pc->tile_columns; const uint8_t *data_ptr2[4][1 << 6]; - BOOL_DECODER UNINITIALIZED_IS_SAFE(bc_bak); + BOOL_DECODER bc_bak = {0}; // pre-initialize the offsets, we're going to read in inverse order data_ptr2[0][0] = data_ptr;