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(). --- common/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/playlist.c') diff --git a/common/playlist.c b/common/playlist.c index bb849f18a0..df3b65fbbc 100644 --- a/common/playlist.c +++ b/common/playlist.c @@ -199,7 +199,7 @@ void playlist_add_base_path(struct playlist *pl, bstr base_path) return; for (struct playlist_entry *e = pl->first; e; e = e->next) { if (!mp_is_url(bstr0(e->filename))) { - char *new_file = mp_path_join(e, base_path, bstr0(e->filename)); + char *new_file = mp_path_join_bstr(e, base_path, bstr0(e->filename)); talloc_free(e->filename); e->filename = new_file; } -- cgit v1.2.3