[vlc-commits] bluray: Add missing vlc_mutex_init

Hugo Beauzée-Luyssen git at videolan.org
Wed Aug 1 15:41:20 CEST 2012


vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu May 31 20:27:59 2012 +0200| [c772af6d95282ce257fc78dd6f9e098453571b48] | committer: Rémi Denis-Courmont

bluray: Add missing vlc_mutex_init

This should fix #6875
(cherry picked from commit a5c381a215d7b4deda2b338dbc7ab9c585399ee7)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c772af6d95282ce257fc78dd6f9e098453571b48
---

 modules/access/bluray.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 14a6fe7..788e478 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -576,6 +576,7 @@ static void blurayInitOverlay(demux_t *p_demux, const BD_OVERLAY* const ov)
         .pf_destroy  = subpictureUpdaterDestroy,
         .p_sys       = p_upd_sys,
     };
+    vlc_mutex_init(&p_sys->p_overlays[ov->plane]->lock);
     p_sys->p_overlays[ov->plane]->p_pic = subpicture_New(&updater);
     p_sys->p_overlays[ov->plane]->p_pic->i_original_picture_width = ov->w;
     p_sys->p_overlays[ov->plane]->p_pic->i_original_picture_height = ov->h;



More information about the vlc-commits mailing list