]> git.sesse.net Git - vlc/commitdiff
sgimb: Kill a warning.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 15:27:48 +0000 (17:27 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 15:27:48 +0000 (17:27 +0200)
modules/demux/playlist/sgimb.c

index 6a8d4d677dffe2903ed975c24c1596dafec07321..1701073b408045b1a5e4f0aa0b50781e1a03b2e3 100644 (file)
@@ -367,7 +367,7 @@ static int Demux ( demux_t *p_demux )
         free( temp );
     }
 
-    p_child = input_ItemNewWithType( p_demux, p_sys->psz_uri,
+    p_child = input_ItemNewWithType( VLC_OBJECT(p_demux), p_sys->psz_uri,
                       p_sys->psz_name ? p_sys->psz_name : p_sys->psz_uri,
                       0, NULL, p_sys->i_duration, ITEM_TYPE_NET );