[Mplayer-cvslog] CVS: main/libmpdemux tvi_dummy.c,1.10,1.11

Richard Felker CVS syncmail at mplayerhq.hu
Sat May 1 20:30:40 CEST 2004


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv17537/libmpdemux

Modified Files:
	tvi_dummy.c 
Log Message:
and more and more stupidity

Index: tvi_dummy.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_dummy.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- tvi_dummy.c	26 Jan 2003 10:53:34 -0000	1.10
+++ tvi_dummy.c	1 May 2004 18:30:38 -0000	1.11
@@ -58,28 +58,28 @@
 	case TVI_CONTROL_IS_VIDEO:
 	    return(TVI_CONTROL_TRUE);
 	case TVI_CONTROL_VID_GET_FORMAT:
-//	    (int)*(void **)arg = IMGFMT_YV12;
+//	    *(int *)arg = IMGFMT_YV12;
 	    *(int *)arg = IMGFMT_YV12;
 	    return(TVI_CONTROL_TRUE);
 	case TVI_CONTROL_VID_SET_FORMAT:
 	{
-//	    int req_fmt = (int)*(void **)arg;
+//	    int req_fmt = *(int *)arg;
 	    int req_fmt = *(int *)arg;
 	    if (req_fmt != IMGFMT_YV12)
 		return(TVI_CONTROL_FALSE);
 	    return(TVI_CONTROL_TRUE);
 	}
 	case TVI_CONTROL_VID_SET_WIDTH:
-	    priv->width = (int)*(void **)arg;
+	    priv->width = *(int *)arg;
 	    return(TVI_CONTROL_TRUE);
 	case TVI_CONTROL_VID_GET_WIDTH:
-	    (int)*(void **)arg = priv->width;
+	    *(int *)arg = priv->width;
 	    return(TVI_CONTROL_TRUE);
 	case TVI_CONTROL_VID_SET_HEIGHT:
-	    priv->height = (int)*(void **)arg;
+	    priv->height = *(int *)arg;
 	    return(TVI_CONTROL_TRUE);	    
 	case TVI_CONTROL_VID_GET_HEIGHT:
-	    (int)*(void **)arg = priv->height;
+	    *(int *)arg = priv->height;
 	    return(TVI_CONTROL_TRUE);	    
 	case TVI_CONTROL_VID_CHK_WIDTH:
 	case TVI_CONTROL_VID_CHK_HEIGHT:




More information about the MPlayer-cvslog mailing list