Initialize seg_feature_data_xxx with 8 elements.
The seg_feature_data_signed and seg_feature_data_max arrays have 8
(SEG_LVL_MAX) elements, so explicitly initialize their 8th elements.
Change-Id: I3e736af9f49cde624ed07f6fe9c89f051c329907
diff --git a/av1/common/seg_common.c b/av1/common/seg_common.c
index cd189ad..4650903 100644
--- a/av1/common/seg_common.c
+++ b/av1/common/seg_common.c
@@ -16,12 +16,19 @@
#include "av1/common/seg_common.h"
#include "av1/common/quant_common.h"
-static const int seg_feature_data_signed[SEG_LVL_MAX] = { 1, 1, 1, 1, 1, 0, 0 };
-
-static const int seg_feature_data_max[SEG_LVL_MAX] = {
- MAXQ, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, 7, 0
+static const int seg_feature_data_signed[SEG_LVL_MAX] = {
+ 1, 1, 1, 1, 1, 0, 0, 0
};
+static const int seg_feature_data_max[SEG_LVL_MAX] = { MAXQ,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ 7,
+ 0,
+ 0 };
+
// These functions provide access to new segment level features.
// Eventually these function may be "optimized out" but for the moment,
// the coding mechanism is still subject to change so these provide a