[SCM] libav/experimental: ffserver: Make sure a destination URL is set when creating the SDP

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:07:14 UTC 2013


The following commit has been merged in the experimental branch:
commit 43d09fafd42c0c2b8f7c96d4abfaed01464c7966
Author: Martin Storsjö <martin at martin.st>
Date:   Mon May 17 17:34:13 2010 +0000

    ffserver: Make sure a destination URL is set when creating the SDP
    
    Debugged by Howard Chu, hyc at highlandsun dot com.
    
    Originally committed as revision 23151 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index e81245d..7dcc9b2 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2946,6 +2946,8 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer,
         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++) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list