• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisãodd9c332de70aaf8aedec5ea78f94606e151c2d23 (tree)
Hora2010-07-12 14:27:48
AutorGwenole Beauchesne <gbeauchesne@spli...>
CommiterXiang, Haihao

Mensagem de Log

Fix vaTerminate().

Mudança Sumário

Diff

--- a/i965_drv_video/i965_media.c
+++ b/i965_drv_video/i965_media.c
@@ -292,8 +292,8 @@ i965_media_terminate(VADriverContextP ctx)
292292 struct i965_media_state *media_state = &i965->media_state;
293293 int i;
294294
295- assert(media_state->free_private_context);
296- media_state->free_private_context(&media_state->private_context);
295+ if (media_state->free_private_context)
296+ media_state->free_private_context(&media_state->private_context);
297297
298298 for (i = 0; i < MAX_MEDIA_SURFACES; i++) {
299299 dri_bo_unreference(media_state->surface_state[i].bo);