diff options
-rw-r--r-- | video/out/gl_lcms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gl_lcms.c b/video/out/gl_lcms.c index 6d7b68a0bd..2b20d04426 100644 --- a/video/out/gl_lcms.c +++ b/video/out/gl_lcms.c @@ -230,6 +230,8 @@ bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **result_lut3d) for (int i = 0; i < sizeof(hash); i++) cache_file = talloc_asprintf_append(cache_file, "%02X", hash[i]); cache_file = mp_path_join(tmp, bstr0(p->opts.cache_dir), bstr0(cache_file)); + + mp_mkdirp(p->opts.cache_dir); } // check cache |