summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_expand.c')
-rw-r--r--video/filter/vf_expand.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c
index 5f5ffcae7f..5ce5db16bd 100644
--- a/video/filter/vf_expand.c
+++ b/video/filter/vf_expand.c
@@ -129,15 +129,15 @@ static void clear_borders(struct vf_instance *vf, struct mp_image *dmpi,
int w, int h)
{
// upper border (over the full width)
- vf_mpi_clear(dmpi, 0, 0, vf->priv->exp_w, vf->priv->exp_y);
+ mp_image_clear(dmpi, 0, 0, vf->priv->exp_w, vf->priv->exp_y);
// lower border
- vf_mpi_clear(dmpi, 0, vf->priv->exp_y + h, vf->priv->exp_w,
- vf->priv->exp_h - (vf->priv->exp_y + h));
+ mp_image_clear(dmpi, 0, vf->priv->exp_y + h, vf->priv->exp_w,
+ vf->priv->exp_h - (vf->priv->exp_y + h));
// left
- vf_mpi_clear(dmpi, 0, vf->priv->exp_y, vf->priv->exp_x, h);
+ mp_image_clear(dmpi, 0, vf->priv->exp_y, vf->priv->exp_x, h);
// right
- vf_mpi_clear(dmpi, vf->priv->exp_x + w, vf->priv->exp_y,
- vf->priv->exp_w - (vf->priv->exp_x + w), h);
+ mp_image_clear(dmpi, vf->priv->exp_x + w, vf->priv->exp_y,
+ vf->priv->exp_w - (vf->priv->exp_x + w), h);
}
static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi)