[FFmpeg-cvslog] r23224 - in branches/0.6: . ffserver.c

siretart subversion
Fri May 21 20:49:32 CEST 2010


Author: siretart
Date: Fri May 21 20:49:32 2010
New Revision: 23224

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

Debugged by Howard Chu, hyc at highlandsun dot com.


backport r23151 by mstorsjo

Modified:
   branches/0.6/   (props changed)
   branches/0.6/ffserver.c

Modified: branches/0.6/ffserver.c
==============================================================================
--- branches/0.6/ffserver.c	Fri May 21 20:47:19 2010	(r23223)
+++ branches/0.6/ffserver.c	Fri May 21 20:49:32 2010	(r23224)
@@ -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