Resolve build problem
authorPaul Wilkins <paulwilkins@google.com>
Thu, 27 Oct 2011 11:35:36 +0000 (12:35 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Thu, 27 Oct 2011 11:35:36 +0000 (12:35 +0100)
Resolved experimental branch build problem when seg_features not configured.

Change-Id: Ia0f9b460a26dc3eac9844ee595a7b196e9faf6a5

vp8/common/seg_common.c

index ef77dfc..f7c2afd 100644 (file)
@@ -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