[vlc-commits] bluray: Add missing vlc_mutex_init
Hugo Beauzée-Luyssen
git at videolan.org
Thu May 31 20:30:43 CEST 2012
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu May 31 20:27:59 2012 +0200| [a5c381a215d7b4deda2b338dbc7ab9c585399ee7] | committer: Hugo Beauzée-Luyssen
bluray: Add missing vlc_mutex_init
This should fix #6875
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a5c381a215d7b4deda2b338dbc7ab9c585399ee7
---
modules/access/bluray.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index acc38f1..3208279 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -715,6 +715,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