summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-03-28 20:06:37 +0300
committerDmitry Osipenko <digetx@gmail.com>2018-03-28 20:06:37 +0300
commitfcecdf2b699f546fe563b28e277b2ccca664cafc (patch)
treeeb0f0c85f5e3f4278366235e4044173ab615bdc3
parent0c8b366716699ae527d75bbb9ac6e11463cfb067 (diff)
Fix cut-n-paste typo in create_shared_surface()
-rw-r--r--src/surface_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface_shared.c b/src/surface_shared.c
index 8e5f469..adc5741 100644
--- a/src/surface_shared.c
+++ b/src/surface_shared.c
@@ -80,7 +80,7 @@ tegra_shared_surface *create_shared_surface(tegra_surface *disp,
tegra_shared_surface *shared;
int ret;
- pthread_mutex_unlock(&shared_lock);
+ pthread_mutex_lock(&shared_lock);
pthread_mutex_lock(&video->lock);
pthread_mutex_lock(&disp->lock);