From afb52f65f239a18135989e238f7ef9bc7b906571 Mon Sep 17 00:00:00 2001
From: Paul Wilkins <paulwilkins@google.com>
Date: Thu, 27 Oct 2011 12:35:36 +0100
Subject: [PATCH] Resolve build problem

Resolved experimental branch build problem when seg_features not configured.

Change-Id: Ia0f9b460a26dc3eac9844ee595a7b196e9faf6a5
---
 vp8/common/seg_common.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vp8/common/seg_common.c b/vp8/common/seg_common.c
index ef77dfc53a..f7c2afdec3 100644
--- a/vp8/common/seg_common.c
+++ b/vp8/common/seg_common.c
@@ -10,6 +10,7 @@
 
 #include "vp8/common/seg_common.h"
 
+#if CONFIG_SEGFEATURES
 const int segfeaturedata_signed[SEG_LVL_MAX] = {1, 1, 0, 0, 0, 0};
 
 
@@ -52,4 +53,6 @@ int is_segfeature_signed( SEG_LVL_FEATURES feature_id )
     return ( segfeaturedata_signed[feature_id] );
 }
 
-// TBD? Functions to read and write segment data with range / validity checking
\ No newline at end of file
+// TBD? Functions to read and write segment data with range / validity checking
+
+#endif
-- 
GitLab