From 2bb8ecad02e2dd1edd6495b2eb8162eb591ba171 Mon Sep 17 00:00:00 2001
From: Frank Galligan <fgalligan@google.com>
Date: Wed, 17 Apr 2013 15:46:12 -0700
Subject: [PATCH] libvpx: Fix vp9 clang build.

- UNINITIALIZED_IS_SAFE Macro triggers a warning in Clang for
  structs.

Change-Id: Ib02c82f1fede7826564e17ccb7171c6fb18b8e44
---
 vp9/decoder/vp9_decodframe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c
index fea6433b28..eb1b4896e5 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;
-- 
GitLab