]> git.sesse.net Git - vlc/commitdiff
fixed rtp with mux=ts
authorMarian Durkovic <md@videolan.org>
Thu, 20 Oct 2005 07:17:09 +0000 (07:17 +0000)
committerMarian Durkovic <md@videolan.org>
Thu, 20 Oct 2005 07:17:09 +0000 (07:17 +0000)
modules/stream_out/rtp.c

index cf2a37ec654116703d5b211df45698a1625ec534..af6073337970a2a1c0fb1bf323371fef451b377a 100644 (file)
@@ -397,7 +397,7 @@ static int Open( vlc_object_t *p_this )
         sout_access_out_t *p_grab;
         char *psz_rtpmap, url[NI_MAXHOST + 8], access[17], psz_ttl[5], ipv;
 
-        if( p_sys->psz_destination )
+        if( !p_sys->psz_destination || *p_sys->psz_destination == '\0' )
         {
             msg_Err( p_stream, "rtp needs a destination when muxing" );
             free( p_sys );