summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_d3d11vpp.c1
-rw-r--r--video/mp_image.c1
2 files changed, 1 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);
diff --git a/video/mp_image.c b/video/mp_image.c
index 45e5330947..7180e2be50 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -30,6 +30,7 @@
#include "mpv_talloc.h"
+#include "config.h"
#include "common/common.h"
#include "mp_image.h"
#include "sws_utils.h"