summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianmi Chen <tianmi.chen@intel.com>2013-07-01 17:38:35 +0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:45 +0200
commit7bc0083a61e98f33c067e206cbe950f0b84aa5e3 (patch)
treebfe70230eb55b83a17108ddc56fe9dde3c735104
parentb6878e29680c33580ef78da529c383459a5c2a98 (diff)
downloadlibva-7bc0083a61e98f33c067e206cbe950f0b84aa5e3.tar.gz
libva: change the types of all fields in VABoolCoderContextVPX
BZ: 120268 Change the types of all fields in VABoolCoderContextVPX to "unsigned char" to avoid potential bugs. Change-Id: I483f115080cefe45ae49503ff5737c7dfff305a8 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
-rw-r--r--va/va_dec_vp8.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/va/va_dec_vp8.h b/va/va_dec_vp8.h
index a3526f7..268ed19 100644
--- a/va/va_dec_vp8.h
+++ b/va/va_dec_vp8.h
@@ -51,11 +51,11 @@ extern "C" {
typedef struct _VABoolCoderContextVPX
{
/* partition 0 "range" */
- unsigned short range;
+ unsigned char range;
/* partition 0 "value" */
- unsigned int value;
+ unsigned char value;
/* partition 0 number of shifts before an output byte is available */
- unsigned short count;
+ unsigned char count;
} VABoolCoderContextVPX;
/**