bluray: Add missing VLC_OBJECT cast
authorMarvin Scholz <epirat07@gmail.com>
Thu, 8 Dec 2016 04:45:49 +0000 (05:45 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 8 Dec 2016 10:34:37 +0000 (11:34 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/bluray.c

index 64dfcb4..33cb4c3 100644 (file)
@@ -1699,7 +1699,7 @@ static void blurayResetParser(demux_t *p_demux)
     if (p_sys->p_parser)
         vlc_demux_chained_Delete(p_sys->p_parser);
 
     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");
 
     if (!p_sys->p_parser)
         msg_Err(p_demux, "Failed to create TS demuxer");