diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2014-06-19 22:54:10 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-19 23:07:02 +0200 |
commit | c4f518f132dd0dfc1661fe2f024b6db43224eb9c (patch) | |
tree | ff65c7ab987c9ed6471fd72a70ec9462048a5e43 /video | |
parent | 0a55ee400a1966d149675b272e58d620447ba5a3 (diff) | |
download | mpv-c4f518f132dd0dfc1661fe2f024b6db43224eb9c.tar.bz2 mpv-c4f518f132dd0dfc1661fe2f024b6db43224eb9c.tar.xz |
vf_dlopen: fix the order of the arguments to mp_image_alloc
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_dlopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |