Mercurial > libavformat.hg
changeset 6406:189ff77baaf3 libavformat
Reindent, rewrap lines
author | mstorsjo |
---|---|
date | Wed, 25 Aug 2010 12:34:42 +0000 |
parents | 1f6088eaa469 |
children | cb173cbeaa96 |
files | sdp.c |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/sdp.c Wed Aug 25 12:29:32 2010 +0000 +++ b/sdp.c Wed Aug 25 12:34:42 2010 +0000 @@ -95,11 +95,11 @@ if (getaddrinfo(dest_addr, NULL, &hints, &ai)) return; for (cur = ai; cur; cur = cur->ai_next) { - getnameinfo(cur->ai_addr, cur->ai_addrlen, dest_addr, size, - NULL, 0, NI_NUMERICHOST); - if (cur->ai_family == AF_INET6) - av_strlcpy(type, "IP6", type_size); - break; + getnameinfo(cur->ai_addr, cur->ai_addrlen, dest_addr, size, + NULL, 0, NI_NUMERICHOST); + if (cur->ai_family == AF_INET6) + av_strlcpy(type, "IP6", type_size); + break; } freeaddrinfo(ai); } @@ -497,8 +497,7 @@ for (j = 0; j < ac[i]->nb_streams; j++) { ff_sdp_write_media(buff, size, ac[i]->streams[j]->codec, dst[0] ? dst : NULL, - dst_type, - (port > 0) ? port + j * 2 : 0, ttl); + dst_type, (port > 0) ? port + j * 2 : 0, ttl); if (port <= 0) { av_strlcatf(buff, size, "a=control:streamid=%d\r\n", i + j);