Browse Source

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


Originally committed as revision 23224 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
tags/v0.6
Reinhard Tartler 15 years ago
parent
commit
fcaba83909
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffserver.c

+ 2
- 0
ffserver.c View File

@@ -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++) {


Loading…
Cancel
Save