]> granicus.if.org Git - libvpx/commitdiff
libvpx: Fix vp9 clang build.
authorFrank Galligan <fgalligan@google.com>
Wed, 17 Apr 2013 22:46:12 +0000 (15:46 -0700)
committerFrank Galligan <fgalligan@google.com>
Wed, 17 Apr 2013 22:46:12 +0000 (15:46 -0700)
- UNINITIALIZED_IS_SAFE Macro triggers a warning in Clang for
  structs.

Change-Id: Ib02c82f1fede7826564e17ccb7171c6fb18b8e44

vp9/decoder/vp9_decodframe.c

index fea6433b28e28cde2223e77c17d404cf151c5d5d..eb1b4896e5dc382bfe705de016bcd249ba95ce9f 100644 (file)
@@ -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;