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
... | ... |
@@ -2946,6 +2946,8 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer, |
2946 | 2946 |
snprintf(avc->filename, 1024, "rtp://%s:%d?multicast=1?ttl=%d", |
2947 | 2947 |
inet_ntoa(stream->multicast_ip), |
2948 | 2948 |
stream->multicast_port, stream->multicast_ttl); |
2949 |
+ } else { |
|
2950 |
+ snprintf(avc->filename, 1024, "rtp://0.0.0.0"); |
|
2949 | 2951 |
} |
2950 | 2952 |
|
2951 | 2953 |
for(i = 0; i < stream->nb_streams; i++) { |