[libbluray-devel] Added missing mutex unlock in bd_user_input()

joakim git at videolan.org
Sun Feb 3 22:01:10 CET 2013


libbluray | branch: master | joakim <joakim at mefx.(none)> | Sun Feb  3 15:55:07 2013 +0100| [7dad6cd7990f9f0df660853b7f38cc0647c7a398] | committer: hpi1

Added missing mutex unlock in bd_user_input()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7dad6cd7990f9f0df660853b7f38cc0647c7a398
---

 src/libbluray/bluray.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index ba68001..2452312 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -2870,6 +2870,8 @@ int bd_user_input(BLURAY *bd, int64_t pts, uint32_t key)
         _bdj_event(bd, BDJ_EVENT_VK_KEY, key);
         result = 0;
     }
+
+    bd_mutex_unlock(&bd->mutex);
     return result;
 }
 



More information about the libbluray-devel mailing list