[MPlayer-cvslog] r19070 - trunk/libmpcodecs/vf_ass.c

reynaldo subversion at mplayerhq.hu
Thu Jul 13 22:23:34 CEST 2006


Author: reynaldo
Date: Thu Jul 13 22:23:34 2006
New Revision: 19070

Modified:
   trunk/libmpcodecs/vf_ass.c

Log:
drops casts from void * on malloc/calloc, leftover on libmpcodecs

Modified: trunk/libmpcodecs/vf_ass.c
==============================================================================
--- trunk/libmpcodecs/vf_ass.c	(original)
+++ trunk/libmpcodecs/vf_ass.c	Thu Jul 13 22:23:34 2006
@@ -69,9 +69,9 @@
 		d_height = d_height * vf->priv->outh / height;
 	} 
 
-	vf->priv->planes[1] = (unsigned char*)malloc(vf->priv->outw * vf->priv->outh);
-	vf->priv->planes[2] = (unsigned char*)malloc(vf->priv->outw * vf->priv->outh);
-	vf->priv->dirty_rows = (unsigned char*)malloc(vf->priv->outh);
+	vf->priv->planes[1] = malloc(vf->priv->outw * vf->priv->outh);
+	vf->priv->planes[2] = malloc(vf->priv->outw * vf->priv->outh);
+	vf->priv->dirty_rows = malloc(vf->priv->outh);
 	
 	if (vf->priv->ass_priv) {
 		settings.frame_width = vf->priv->outw;



More information about the MPlayer-cvslog mailing list