summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/omx/entrypoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/omx/entrypoint.c')
-rw-r--r--src/gallium/state_trackers/omx/entrypoint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c
index 0274caa165f..5afb58be3a3 100644
--- a/src/gallium/state_trackers/omx/entrypoint.c
+++ b/src/gallium/state_trackers/omx/entrypoint.c
@@ -107,11 +107,11 @@ struct vl_screen *omx_get_screen(void)
++omx_usecount;
- pipe_mutex_unlock(omx_lock);
+ mtx_unlock(&omx_lock);
return omx_screen;
error:
- pipe_mutex_unlock(omx_lock);
+ mtx_unlock(&omx_lock);
return NULL;
}
@@ -127,7 +127,7 @@ void omx_put_screen(void)
else
XCloseDisplay(omx_display);
}
- pipe_mutex_unlock(omx_lock);
+ mtx_unlock(&omx_lock);
}
OMX_ERRORTYPE omx_workaround_Destructor(OMX_COMPONENTTYPE *comp)