diff options
author | wm4 <wm4@nowhere> | 2016-04-11 22:02:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-11 22:03:26 +0200 |
commit | 837b865c7f12d09dee5bcee8f8deb2955dacf410 (patch) | |
tree | 65eadc9651d65517e80aa5c94424c251954be67f /video/filter/vf_vavpp.c | |
parent | f5ff2656e0d192a2e25fe5f65edf219972211a48 (diff) | |
download | mpv-837b865c7f12d09dee5bcee8f8deb2955dacf410.tar.bz2 mpv-837b865c7f12d09dee5bcee8f8deb2955dacf410.tar.xz |
vf_vavpp: reindent
Diffstat (limited to 'video/filter/vf_vavpp.c')
-rw-r--r-- | video/filter/vf_vavpp.c | 14 |
1 files 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) { |