projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e144939
)
Fix i965_update_attribute
author
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 20 Feb 2012 06:01:18 +0000
(14:01 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 22 Feb 2012 02:26:57 +0000
(10:26 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_drv_video.c
patch
|
blob
|
history
diff --git
a/src/i965_drv_video.c
b/src/i965_drv_video.c
index
6d32865
..
c41d35e
100644
(file)
--- a/
src/i965_drv_video.c
+++ b/
src/i965_drv_video.c
@@
-325,7
+325,7
@@
i965_update_attribute(struct object_config *obj_config, VAConfigAttrib *attrib)
int i;
/* Check existing attrbiutes */
- for (i = 0;
obj_config->num_attribs < i
; i++) {
+ for (i = 0;
i < obj_config->num_attribs
; i++) {
if (obj_config->attrib_list[i].type == attrib->type) {
/* Update existing attribute */
obj_config->attrib_list[i].value = attrib->value;