summaryrefslogtreecommitdiffstats
path: root/video/mp_image.c
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/mp_image.c
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/mp_image.c')
-rw-r--r--video/mp_image.c1
1 files changed, 1 insertions, 0 deletions
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"