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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19070 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reynaldo 2006-07-13 20:23:34 +00:00
parent feaf4bf603
commit d8c03e95a5
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ static int config(struct vf_instance_s* vf,
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;