[MPlayer-cvslog] CVS: main/libvo vo_ggi.c,1.38,1.39

Diego Biurrun CVS syncmail at mplayerhq.hu
Thu Sep 8 02:11:57 CEST 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv23062/libvo

Modified Files:
	vo_ggi.c 
Log Message:
Replace remaining tabs by spaces.
patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de>


Index: vo_ggi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_ggi.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- vo_ggi.c	6 Sep 2005 18:44:04 -0000	1.38
+++ vo_ggi.c	8 Sep 2005 00:11:55 -0000	1.39
@@ -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;
 }




More information about the MPlayer-cvslog mailing list