diff options
Diffstat (limited to 'src/gallium/state_trackers/omx')
-rw-r--r-- | src/gallium/state_trackers/omx/entrypoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c index c12eb207ea8..0274caa165f 100644 --- a/src/gallium/state_trackers/omx/entrypoint.c +++ b/src/gallium/state_trackers/omx/entrypoint.c @@ -75,7 +75,7 @@ int omx_component_library_Setup(stLoaderComponentType **stComponents) struct vl_screen *omx_get_screen(void) { static bool first_time = true; - pipe_mutex_lock(omx_lock); + mtx_lock(&omx_lock); if (!omx_screen) { if (first_time) { @@ -117,7 +117,7 @@ error: void omx_put_screen(void) { - pipe_mutex_lock(omx_lock); + mtx_lock(&omx_lock); if ((--omx_usecount) == 0) { omx_screen->destroy(omx_screen); omx_screen = NULL; |