summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-01-29 15:01:36 +0100
committerDudemanguy <random342@airmail.cc>2023-02-02 14:23:02 +0000
commit87fb254deb527ee0336e66481d1f39809a4e1d2d (patch)
tree18a0efaf68354f10e1c47514702c9d62995a2d13 /video/out
parenta97dd423c8dfc1c0776bbb914aa697962f54c71e (diff)
downloadmpv-87fb254deb527ee0336e66481d1f39809a4e1d2d.tar.bz2
mpv-87fb254deb527ee0336e66481d1f39809a4e1d2d.tar.xz
vo_gpu_next: add check for PL_HAVE_LCMS
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_gpu_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c
index f18ab3d9a4..bca48824fa 100644
--- a/video/out/vo_gpu_next.c
+++ b/video/out/vo_gpu_next.c
@@ -1557,7 +1557,7 @@ static const struct pl_hook *load_hook(struct priv *p, const char *path)
return hook;
}
-#if PL_API_VER >= 222
+#if PL_API_VER >= 222 && defined(PL_HAVE_LCMS)
static stream_t *icc_open_cache(struct priv *p, uint64_t sig, int flags)
{