[vlc-devel] [PATCH] bluray: Add missing VLC_OBJECT cast

Marvin Scholz epirat07 at gmail.com
Thu Dec 8 05:45:49 CET 2016


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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 64dfcb4..33cb4c3 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1699,7 +1699,7 @@ static void blurayResetParser(demux_t *p_demux)
     if (p_sys->p_parser)
         vlc_demux_chained_Delete(p_sys->p_parser);
 
-    p_sys->p_parser = vlc_demux_chained_New(p_demux, "ts", p_sys->p_out);
+    p_sys->p_parser = vlc_demux_chained_New(VLC_OBJECT(p_demux), "ts", p_sys->p_out);
 
     if (!p_sys->p_parser)
         msg_Err(p_demux, "Failed to create TS demuxer");
-- 
2.9.3 (Apple Git-75)



More information about the vlc-devel mailing list