Commit 92b36693 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

bluray: fix assert

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4a55d147
......@@ -1258,7 +1258,11 @@ static void bluraySendOverlayToVout(demux_t *p_demux, bluray_overlay_t *p_ov)
assert(p_ov != NULL);
assert(p_ov->i_channel == -1);
assert(p_ov->p_updater == NULL);
if (p_ov->p_updater) {
unref_subpicture_updater(p_ov->p_updater);
p_ov->p_updater = NULL;
}
subpicture_t *p_pic = bluraySubpictureCreate(p_ov);
if (!p_pic) {
......
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