changeset 16426:3523630c28cf

Replace remaining tabs by spaces. patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de>
author diego
date Thu, 08 Sep 2005 00:11:55 +0000
parents 7ca9d8c0ae47
children a40cc42e9efb
files libvo/vo_ggi.c
diffstat 1 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_ggi.c	Wed Sep 07 00:19:04 2005 +0000
+++ b/libvo/vo_ggi.c	Thu Sep 08 00:11:55 2005 +0000
@@ -95,7 +95,7 @@
 static void set_graphtype(uint32_t format, ggi_mode *mode)
 {
     switch (format) {
-        case IMGFMT_RGB4:
+    case IMGFMT_RGB4:
         mode->graphtype = GT_4BIT;
         break;
     case IMGFMT_BGR4:
@@ -164,18 +164,18 @@
     ggiCheckMode(ggi_conf.parentvis, &parentmode);
 
     if (ggiSetMode(ggi_conf.parentvis, &parentmode) < 0) {
-	mp_msg(MSGT_VO, MSGL_ERR, "[ggi] unable to set display mode\n");
-	return (-1);
+        mp_msg(MSGT_VO, MSGL_ERR, "[ggi] unable to set display mode\n");
+        return (-1);
     }
     if (ggiGetMode(ggi_conf.parentvis, &parentmode) < 0) {
-	mp_msg(MSGT_VO, MSGL_ERR, "[ggi] unable to get display mode\n");
-	return (-1);
+        mp_msg(MSGT_VO, MSGL_ERR, "[ggi] unable to get display mode\n");
+        return (-1);
     }
     if ((parentmode.graphtype == GT_INVALID)
        || (parentmode.graphtype == GT_AUTO))
     {
-	mp_msg(MSGT_VO, MSGL_ERR, "[ggi] not supported depth/bpp\n");
-	return (-1);
+        mp_msg(MSGT_VO, MSGL_ERR, "[ggi] not supported depth/bpp\n");
+        return (-1);
     }
 
 #if 0
@@ -245,10 +245,10 @@
     ggiSetFlags(ggi_conf.vis, GGIFLAG_ASYNC);
 
     if (GT_SCHEME(mode.graphtype) == GT_PALETTE)
-	ggiSetColorfulPalette(ggi_conf.vis);
+        ggiSetColorfulPalette(ggi_conf.vis);
 
     if (ggiGetFlags(ggi_conf.vis) & GGIFLAG_ASYNC)
-	ggi_conf.async = 1;
+        ggi_conf.async = 1;
 
     mp_msg(MSGT_VO, MSGL_INFO, "[ggi] input: %dx%dx%d, output: %dx%dx%d\n",
            ggi_conf.srcwidth, ggi_conf.srcheight, ggi_conf.srcdepth,
@@ -283,7 +283,7 @@
         (mpi->width != ggi_conf.srcwidth) ||
         (mpi->height != ggi_conf.srcheight))
     {
-	return (VO_FALSE);
+        return (VO_FALSE);
     }
 
     mpi->planes[1] = mpi->planes[2] = NULL;
@@ -448,7 +448,7 @@
 static int control(uint32_t request, void *data, ...)
 {
     switch (request) {
-        case VOCTRL_QUERY_FORMAT:
+    case VOCTRL_QUERY_FORMAT:
         return query_format(*((uint32_t *) data));
     case VOCTRL_GET_IMAGE:
         return get_image(data);
@@ -483,7 +483,7 @@
             switch (event.any.type) {
             case evKeyPress:
                 switch (event.key.sym) {
-                case GIIK_PAsterisk:	/* PStar */
+                case GIIK_PAsterisk:    /* PStar */
                 case GIIUC_Asterisk:
                     mplayer_put_key('*');
                     break;
@@ -563,8 +563,8 @@
                 }   /* switch */
 
                 break;
-            }	/* switch */
+            }   /* switch */
         }   /* if */
-    }	/* if */
+    }   /* if */
     return;
 }