From 837b865c7f12d09dee5bcee8f8deb2955dacf410 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 11 Apr 2016 22:02:37 +0200 Subject: vf_vavpp: reindent --- video/filter/vf_vavpp.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/video/filter/vf_vavpp.c b/video/filter/vf_vavpp.c index e076713e9e..9dab15e2b9 100644 --- a/video/filter/vf_vavpp.c +++ b/video/filter/vf_vavpp.c @@ -303,14 +303,12 @@ static int filter_ext(struct vf_instance *vf, struct mp_image *in) { struct vf_priv_s *p = vf->priv; - if (in) { - if (in->imgfmt != IMGFMT_VAAPI) { - struct mp_image *tmp = upload(vf, in); - talloc_free(in); - in = tmp; - if (!in) - return -1; - } + if (in && in->imgfmt != IMGFMT_VAAPI) { + struct mp_image *tmp = upload(vf, in); + talloc_free(in); + in = tmp; + if (!in) + return -1; } if (in) { -- cgit v1.2.3