Commit 23218502 authored by Alexander Osin's avatar Alexander Osin Committed by Xiang, Haihao

i965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_state()

parent 910c51dc
...@@ -297,7 +297,9 @@ i965_media_h264_surface_state(VADriverContextP ctx, ...@@ -297,7 +297,9 @@ i965_media_h264_surface_state(VADriverContextP ctx,
dri_bo *bo; dri_bo *bo;
uint32_t write_domain, read_domain; 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", "surface state",
sizeof(struct i965_surface_state), 32); sizeof(struct i965_surface_state), 32);
assert(bo); assert(bo);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment