From: Ronald S. Bultje Date: Fri, 7 Jun 2013 18:41:00 +0000 (-0700) Subject: Fix segment feature data type. X-Git-Tag: v1.3.0~1104^2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb1f6f1db4be474067bb8cc57fcb2ae9a95255b2;p=libvpx Fix segment feature data type. It has a range of -255,255, so should be int16_t, not int8_t. Change-Id: I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0 --- diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index 4b06a61bd..52b736b84 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -327,7 +327,7 @@ typedef struct macroblockd { vp9_prob mb_segment_tree_probs[MB_SEG_TREE_PROBS]; // Segment features - signed char segment_feature_data[MAX_MB_SEGMENTS][SEG_LVL_MAX]; + int16_t segment_feature_data[MAX_MB_SEGMENTS][SEG_LVL_MAX]; unsigned int segment_feature_mask[MAX_MB_SEGMENTS]; /* mode_based Loop filter adjustment */