blob: 8a6aed180605d9c3463be7cb3688321e8a05bf0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c
index 6d555a1..dd8e5a5 100644
--- a/src/libbluray/disc/disc.c
+++ b/src/libbluray/disc/disc.c
@@ -283,7 +283,7 @@ static BD_DISC *_disc_init()
static void _set_paths(BD_DISC *p, const char *device_path)
{
if (device_path) {
- char *disc_root = mount_get_mountpoint(device_path);
+ char *disc_root = str_dup(device_path);
/* make sure path ends to slash */
if (!disc_root || (disc_root[0] && disc_root[strlen(disc_root) - 1] == DIR_SEP_CHAR)) {
|