[vlc-commits] bluray: fix missing unlock (cid #1047147)
Rémi Duraffort
git at videolan.org
Sat Jul 13 15:31:27 CEST 2013
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 13 10:21:16 2013 +0200| [881a9f383059e37ed58dbd14ce3a3f914bc5874e] | committer: Jean-Baptiste Kempf
bluray: fix missing unlock (cid #1047147)
(cherry picked from commit 9ebbc7d3ffe7c6ebc14151c66e268b879ac54709)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=881a9f383059e37ed58dbd14ce3a3f914bc5874e
---
modules/access/bluray.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index efc1aa5..c1f25b3 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -605,7 +605,10 @@ static void subpictureUpdaterUpdate(subpicture_t *p_subpic,
subpicture_region_t *p_src = p_overlay->p_regions;
if (!p_src)
+ {
+ vlc_mutex_unlock(&p_overlay->lock);
return;
+ }
subpicture_region_t **p_dst = &(p_subpic->p_region);
while (p_src != NULL) {
More information about the vlc-commits
mailing list