summaryrefslogtreecommitdiffstats
path: root/vidix/vidix.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /vidix/vidix.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'vidix/vidix.c')
-rw-r--r--vidix/vidix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vidix/vidix.c b/vidix/vidix.c
index f5da49da7f..adb5613948 100644
--- a/vidix/vidix.c
+++ b/vidix/vidix.c
@@ -54,7 +54,7 @@ VDXContext *vdlOpen(const char *name,unsigned cap,int verbose)
/* register all drivers */
vidix_register_all_drivers ();
-
+
if (!vidix_find_driver (ctx, name, cap, verbose))
{
free (ctx);
@@ -71,7 +71,7 @@ VDXContext *vdlOpen(const char *name,unsigned cap,int verbose)
free (ctx);
return NULL;
}
-
+
if (verbose)
printf ("vidixlib: Attempt to initialize driver at: %p\n",
ctx->drv->init);
@@ -83,10 +83,10 @@ VDXContext *vdlOpen(const char *name,unsigned cap,int verbose)
free (ctx);
return NULL;
}
-
+
if (verbose)
printf("vidixlib: '%s'successfully loaded\n", ctx->drv->name);
-
+
return ctx;
}
@@ -94,7 +94,7 @@ void vdlClose(VDXContext *ctx)
{
if (ctx->drv->destroy)
ctx->drv->destroy ();
-
+
memset (ctx, 0, sizeof (VDXContext)); /* <- it's not stupid */
free (ctx);
}