Commit cc83027c authored by Martin Storsjö's avatar Martin Storsjö

Reindent, rewrap lines

Originally committed as revision 24916 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7ad1dc54
...@@ -95,11 +95,11 @@ static void resolve_destination(char *dest_addr, int size, char *type, ...@@ -95,11 +95,11 @@ static void resolve_destination(char *dest_addr, int size, char *type,
if (getaddrinfo(dest_addr, NULL, &hints, &ai)) if (getaddrinfo(dest_addr, NULL, &hints, &ai))
return; return;
for (cur = ai; cur; cur = cur->ai_next) { for (cur = ai; cur; cur = cur->ai_next) {
getnameinfo(cur->ai_addr, cur->ai_addrlen, dest_addr, size, getnameinfo(cur->ai_addr, cur->ai_addrlen, dest_addr, size,
NULL, 0, NI_NUMERICHOST); NULL, 0, NI_NUMERICHOST);
if (cur->ai_family == AF_INET6) if (cur->ai_family == AF_INET6)
av_strlcpy(type, "IP6", type_size); av_strlcpy(type, "IP6", type_size);
break; break;
} }
freeaddrinfo(ai); freeaddrinfo(ai);
} }
...@@ -497,8 +497,7 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size) ...@@ -497,8 +497,7 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size)
for (j = 0; j < ac[i]->nb_streams; j++) { for (j = 0; j < ac[i]->nb_streams; j++) {
ff_sdp_write_media(buff, size, ff_sdp_write_media(buff, size,
ac[i]->streams[j]->codec, dst[0] ? dst : NULL, ac[i]->streams[j]->codec, dst[0] ? dst : NULL,
dst_type, dst_type, (port > 0) ? port + j * 2 : 0, ttl);
(port > 0) ? port + j * 2 : 0, ttl);
if (port <= 0) { if (port <= 0) {
av_strlcatf(buff, size, av_strlcatf(buff, size,
"a=control:streamid=%d\r\n", i + j); "a=control:streamid=%d\r\n", i + j);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment