]> git.sesse.net Git - vlc/commitdiff
Fixed warning (missing VLC_OBJECT()).
authorLaurent Aimar <fenrir@videolan.org>
Sun, 25 Feb 2007 12:09:34 +0000 (12:09 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 25 Feb 2007 12:09:34 +0000 (12:09 +0000)
modules/demux/ts.c

index 129dd6df95fd3e137b5844e38e8a2f399ed479ed..a9034897ca90a0da027db32bf9803e409ce4112f 100644 (file)
@@ -660,7 +660,7 @@ static int Open( vlc_object_t *p_this )
         if( i_port <= 0 ) i_port  = 1234;
         msg_Dbg( p_demux, "resend ts to '%s:%d'", val.psz_string, i_port );
 
-        p_sys->fd = net_ConnectUDP( p_demux, val.psz_string, i_port, 0 );
+        p_sys->fd = net_ConnectUDP( VLC_OBJECT(p_demux), val.psz_string, i_port, 0 );
         if( p_sys->fd < 0 )
         {
             msg_Err( p_demux, "failed to open udp socket, send disabled" );