mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
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:
parent
feaf4bf603
commit
d8c03e95a5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user