[SCM] libav/experimental: Always set the destination address even if no port was found. Patch by Martin Storsjo (martin AT martin DOT st)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:56:55 UTC 2013
The following commit has been merged in the experimental branch:
commit 9ea7f03aa08151d8e490d83d3fff3f9d5f1a3b3b
Author: Martin Storsjö <martin at martin.st>
Date: Thu Jan 7 08:24:44 2010 +0000
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
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index c3ba365..819173e 100644
--- 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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list