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,6 +297,8 @@ i965_media_h264_surface_state(VADriverContextP ctx,
dri_bo *bo;
uint32_t write_domain, read_domain;
assert(obj_surface->bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"surface state",
sizeof(struct i965_surface_state), 32);
......
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