shithub: libvpx

Download patch

ref: afb52f65f239a18135989e238f7ef9bc7b906571
parent: 4081e5b3fe41a062a42e6171d6c4ebceb85f8d88
author: Paul Wilkins <paulwilkins@google.com>
date: Thu Oct 27 08:35:36 EDT 2011

Resolve build problem

Resolved experimental branch build problem when seg_features not configured.

Change-Id: Ia0f9b460a26dc3eac9844ee595a7b196e9faf6a5

--- 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 @@
     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