projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40f329
)
ffserver: Make sure a destination URL is set when creating the SDP
author
Martin Storsjö
<martin@martin.st>
Mon, 17 May 2010 17:34:13 +0000
(17:34 +0000)
committer
Martin Storsjö
<martin@martin.st>
Mon, 17 May 2010 17:34:13 +0000
(17:34 +0000)
Debugged by Howard Chu, hyc at highlandsun dot com.
Originally committed as revision 23151 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
e81245d
..
7dcc9b2
100644
(file)
--- 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++) {