summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-04-26 19:27:32 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-26 19:27:32 +0000
commit4ee10633d24869572d0053adf7c44fe58d351c33 (patch)
treea1c1003230007d78a2110b054c576fedfc9e3d03
parentc23a470800835202f497bb7451adaeaa2465ed42 (diff)
cosmetics: Remove trailing whitespace and tabs.
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffinstall.nsi4
-rw-r--r--ffserver.c2
-rw-r--r--libavformat/os_support.c10
3 files changed, 8 insertions, 8 deletions
diff --git a/ffinstall.nsi b/ffinstall.nsi
index f483b0174f..d3198a04eb 100644
--- a/ffinstall.nsi
+++ b/ffinstall.nsi
@@ -32,7 +32,7 @@ Section "Install"
File ".\ffplay.exe"
File ".\COPYING"
File ".\CREDITS"
-
+
; documentation
SetOutPath $INSTDIR\doc
File ".\doc\faq.html"
@@ -58,7 +58,7 @@ Section Uninstall
Delete "$INSTDIR\ffplay.exe"
Delete "$INSTDIR\COPYING"
Delete "$INSTDIR\CREDITS"
-
+
; delete documentation
Delete "$INSTDIR\doc\faq.html"
Delete "$INSTDIR\ffmpeg-doc.html"
diff --git a/ffserver.c b/ffserver.c
index 1c3a91e7e9..c34e47a93c 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4281,7 +4281,7 @@ static int parse_ffconfig(const char *filename)
}
get_arg(arg, sizeof(arg), &p);
-
+
if (resolve_host(&acl.first, arg) != 0) {
fprintf(stderr, "%s:%d: ACL refers to invalid host or ip address '%s'\n",
filename, line_num, arg);
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 9dddab2f15..da303be49c 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -105,12 +105,12 @@ done:
int resolve_host(struct in_addr *sin_addr, const char *hostname)
{
struct hostent *hp;
-
+
if (!inet_aton(hostname, sin_addr)) {
- hp = gethostbyname(hostname);
- if (!hp)
- return -1;
- memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
+ hp = gethostbyname(hostname);
+ if (!hp)
+ return -1;
+ memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
}
return 0;
}