summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2017-08-26 00:28:58 +1000
committerJames Ross-Gowan <rossy@jrg.systems>2017-08-26 00:41:04 +1000
commiteacd97d536fc056eecb159949384841067c90594 (patch)
treed51da956b3d492c0f941a5462f586aaef2c29ba1 /video/filter
parent9aa091615e5f7f10b5800786d6c3bf9c68870012 (diff)
downloadmpv-eacd97d536fc056eecb159949384841067c90594.tar.bz2
mpv-eacd97d536fc056eecb159949384841067c90594.tar.xz
mp_image: include config.h directly
This is needed for HAVE_SSE4_INTRINSICS. config.h used to be included as a transitive dependency of vf.h, but the include statement was removed from vf.h in 8f2ccba71bb4. Also silence an unused variable warning that was introduced in the same commit.
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_d3d11vpp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/filter/vf_d3d11vpp.c b/video/filter/vf_d3d11vpp.c
index cbd59fef93..44178a8622 100644
--- a/video/filter/vf_d3d11vpp.c
+++ b/video/filter/vf_d3d11vpp.c
@@ -463,7 +463,6 @@ static bool test_conversion(int in, int out)
static int control(struct vf_instance *vf, int request, void* data)
{
- struct vf_priv_s *p = vf->priv;
switch (request){
case VFCTRL_SEEK_RESET:
flush_frames(vf);