[FFmpeg-cvslog] r23151 - trunk/ffserver.c

mstorsjo subversion
Mon May 17 19:34:14 CEST 2010


Author: mstorsjo
Date: Mon May 17 19:34:13 2010
New Revision: 23151

Log:
ffserver: Make sure a destination URL is set when creating the SDP

Debugged by Howard Chu, hyc at highlandsun dot com.

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	Mon May 17 11:53:59 2010	(r23150)
+++ trunk/ffserver.c	Mon May 17 19:34:13 2010	(r23151)
@@ -2946,6 +2946,8 @@ static int prepare_sdp_description(FFStr
         snprintf(avc->filename, 1024, "rtp://%s:%d?multicast=1?ttl=%d",
                  inet_ntoa(stream->multicast_ip),
                  stream->multicast_port, stream->multicast_ttl);
+    } else {
+        snprintf(avc->filename, 1024, "rtp://0.0.0.0");
     }
 
     for(i = 0; i < stream->nb_streams; i++) {



More information about the ffmpeg-cvslog mailing list