[vlc-devel] [PATCH] bluray: fix assert
Petri Hintukainen
phintuka at gmail.com
Mon Oct 5 10:51:58 CEST 2015
---
modules/access/bluray.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 3ac6e66..7bca4c1 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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) {
--
2.1.4
More information about the vlc-devel
mailing list