mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Always set the destination address even if no port was found.
Patch by Martin Storsjo (martin AT martin DOT st) Originally committed as revision 21057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c47b0738b5
commit
9ea7f03aa0
@ -303,7 +303,7 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size)
|
||||
ttl = 0;
|
||||
if (n_files == 1) {
|
||||
port = sdp_get_address(dst, sizeof(dst), &ttl, ac[0]->filename);
|
||||
if (port > 0) {
|
||||
if (dst[0]) {
|
||||
s.dst_addr = dst;
|
||||
s.ttl = ttl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user