summaryrefslogtreecommitdiffstats
path: root/stream/stream_bluray.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_bluray.c')
-rw-r--r--stream/stream_bluray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c
index adc2e5828b..117b0cc205 100644
--- a/stream/stream_bluray.c
+++ b/stream/stream_bluray.c
@@ -891,9 +891,9 @@ static int bdmv_dir_stream_open(stream_t *stream)
// directory containing MovieObject.bdmv, or that file itself.
if (!check_bdmv(path)) {
// On UNIX, just assume the filename has always this case.
- char *npath = mp_path_join(priv, bstr0(path), bstr0("MovieObject.bdmv"));
+ char *npath = mp_path_join(priv, path, "MovieObject.bdmv");
if (!check_bdmv(npath)) {
- npath = mp_path_join(priv, bstr0(path), bstr0("BDMV/MovieObject.bdmv"));
+ npath = mp_path_join(priv, path, "BDMV/MovieObject.bdmv");
if (!check_bdmv(npath))
goto unsupported;
}