changeset 19065:26ed3fcd5cd4

drops casts from void * on malloc/calloc, leftover on libmpcodecs
author reynaldo
date Thu, 13 Jul 2006 20:23:34 +0000
parents 1ca92a0b7703
children 26a30496ec96
files libmpcodecs/vf_ass.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_ass.c	Thu Jul 13 18:52:16 2006 +0000
+++ b/libmpcodecs/vf_ass.c	Thu Jul 13 20:23:34 2006 +0000
@@ -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;