[vlc-commits] bluray: Add missing VLC_OBJECT cast

Marvin Scholz git at videolan.org
Thu Dec 8 11:34:41 CET 2016


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Dec  8 05:45:49 2016 +0100| [9d930e85beeefe0fd9a22755b26ac936a714cd81] | committer: Jean-Baptiste Kempf

bluray: Add missing VLC_OBJECT cast

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d930e85beeefe0fd9a22755b26ac936a714cd81
---

 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");



More information about the vlc-commits mailing list