summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_ass.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf_ass.c')
-rw-r--r--libmpcodecs/vf_ass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c
index 39f073197a..454016dd33 100644
--- a/libmpcodecs/vf_ass.c
+++ b/libmpcodecs/vf_ass.c
@@ -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;