From 04c02796bd371e65f81a92b853658b8fbadb7ad5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 May 2015 15:26:47 +0200 Subject: path: make mp_path_join accept normal C strings Instead of bstr. Most callers of this function do not need bstr. The bstr version of this function is now mp_path_join_bstr(). --- video/out/gl_lcms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gl_lcms.c') diff --git a/video/out/gl_lcms.c b/video/out/gl_lcms.c index aca4825917..b7ee51360c 100644 --- a/video/out/gl_lcms.c +++ b/video/out/gl_lcms.c @@ -230,7 +230,7 @@ bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **result_lut3d) cache_file = talloc_strdup(tmp, ""); 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(cache_dir), bstr0(cache_file)); + cache_file = mp_path_join(tmp, cache_dir, cache_file); mp_mkdirp(cache_dir); } -- cgit v1.2.3