From: Tianmi Chen Date: Mon, 1 Jul 2013 09:38:35 +0000 (+0800) Subject: libva: change the types of all fields in VABoolCoderContextVPX X-Git-Tag: libva-1.3.0~28 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibva.git;a=commitdiff_plain;h=a1c74db238495a4727976fb5ae211c3e5e9db5e7 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 --- 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; /**