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:
c47b073
)
Always set the destination address even if no port was found.
author
Martin Storsjö
<martin@martin.st>
Thu, 7 Jan 2010 08:24:44 +0000
(08:24 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Thu, 7 Jan 2010 08:24:44 +0000
(08:24 +0000)
Patch by Martin Storsjo (martin AT martin DOT st)
Originally committed as revision 21057 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sdp.c
patch
|
blob
|
history
diff --git
a/libavformat/sdp.c
b/libavformat/sdp.c
index
c3ba365
..
819173e
100644
(file)
--- a/
libavformat/sdp.c
+++ b/
libavformat/sdp.c
@@
-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;
}