Commit dd9c332d authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Xiang, Haihao

Fix vaTerminate().

parent 6cb2cd5b
...@@ -292,7 +292,7 @@ i965_media_terminate(VADriverContextP ctx) ...@@ -292,7 +292,7 @@ i965_media_terminate(VADriverContextP ctx)
struct i965_media_state *media_state = &i965->media_state; struct i965_media_state *media_state = &i965->media_state;
int i; int i;
assert(media_state->free_private_context); if (media_state->free_private_context)
media_state->free_private_context(&media_state->private_context); media_state->free_private_context(&media_state->private_context);
for (i = 0; i < MAX_MEDIA_SURFACES; i++) { for (i = 0; i < MAX_MEDIA_SURFACES; i++) {
......
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