summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-21 22:12:30 +0100
committerwm4 <wm4@nowhere>2015-01-21 22:12:30 +0100
commitb2149f7fe102f7d00beb2051e179160e47cbcbc6 (patch)
tree4fc5226f63eb71a167bb2cff0848011c0cca26e4 /video/filter
parenta1ed13869c1586897c323ebf65cfd3975092ffad (diff)
downloadmpv-b2149f7fe102f7d00beb2051e179160e47cbcbc6.tar.bz2
mpv-b2149f7fe102f7d00beb2051e179160e47cbcbc6.tar.xz
vaapi: minor simplification
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_vavpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vavpp.c b/video/filter/vf_vavpp.c
index 4b6322cbe2..ec39772865 100644
--- a/video/filter/vf_vavpp.c
+++ b/video/filter/vf_vavpp.c
@@ -284,7 +284,7 @@ static void uninit(struct vf_instance *vf)
static int query_format(struct vf_instance *vf, unsigned int imgfmt)
{
struct vf_priv_s *p = vf->priv;
- if (imgfmt == IMGFMT_VAAPI || va_image_format_from_imgfmt(p->va->image_formats, imgfmt))
+ if (imgfmt == IMGFMT_VAAPI || va_image_format_from_imgfmt(p->va, imgfmt))
return vf_next_query_format(vf, IMGFMT_VAAPI);
return 0;
}