Commit a5c381a2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

bluray: Add missing vlc_mutex_init

This should fix #6875
parent 691e604c
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment