projects
/
platform
/
upstream
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910c51d
)
i965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_s...
author
Alexander Osin
<alexander.i.osin@intel.com>
Tue, 7 Jun 2011 18:35:33 +0000
(22:35 +0400)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 9 Jun 2011 02:39:54 +0000
(10:39 +0800)
i965_drv_video/i965_media_h264.c
patch
|
blob
|
history
diff --git
a/i965_drv_video/i965_media_h264.c
b/i965_drv_video/i965_media_h264.c
index
ba87171
..
ddc43de
100644
(file)
--- a/
i965_drv_video/i965_media_h264.c
+++ b/
i965_drv_video/i965_media_h264.c
@@
-297,7
+297,9
@@
i965_media_h264_surface_state(VADriverContextP ctx,
dri_bo *bo;
uint32_t write_domain, read_domain;
- bo = dri_bo_alloc(i965->intel.bufmgr,
+ assert(obj_surface->bo);
+
+ bo = dri_bo_alloc(i965->intel.bufmgr,
"surface state",
sizeof(struct i965_surface_state), 32);
assert(bo);