From c4f518f132dd0dfc1661fe2f024b6db43224eb9c Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Thu, 19 Jun 2014 22:54:10 +0200 Subject: vf_dlopen: fix the order of the arguments to mp_image_alloc --- video/filter/vf_dlopen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video') diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c index 78bde8eb64..118a4911f2 100644 --- a/video/filter/vf_dlopen.c +++ b/video/filter/vf_dlopen.c @@ -158,8 +158,8 @@ static int config(struct vf_instance *vf, for (int i = 0; i < vf->priv->out_cnt; ++i) { talloc_free(vf->priv->outpic[i]); vf->priv->outpic[i] = - mp_image_alloc(vf->priv->out_width, vf->priv->out_height, - vf->priv->outfmt); + mp_image_alloc(vf->priv->outfmt, + vf->priv->out_width, vf->priv->out_height); if (!vf->priv->outpic[i]) return 0; // OOM talloc_steal(vf, vf->priv->outpic[i]); -- cgit v1.2.3