diff --git a/mythtv/external/libmythbluray/file/dir_posix.c b/mythtv/external/libmythbluray/file/dir_posix.c
index dd7bbd7..d915f0e 100644
a
|
b
|
|
22 | 22 | #endif |
23 | 23 | |
24 | 24 | #include "file.h" |
| 25 | #include "file_mythiowrapper.h" |
25 | 26 | #include "util/macro.h" |
26 | 27 | #include "util/logging.h" |
27 | 28 | #include "util/strutl.h" |
… |
… |
static int dir_read_posix(BD_DIR_H *dir, BD_DIRENT *entry) |
91 | 92 | |
92 | 93 | static BD_DIR_H *dir_open_posix(const char* dirname) |
93 | 94 | { |
| 95 | if(strncmp(dirname, "myth://", 7) == 0) |
| 96 | return dir_open_mythiowrapper(dirname); |
| 97 | |
94 | 98 | BD_DIR_H *dir = malloc(sizeof(BD_DIR_H)); |
95 | 99 | |
96 | 100 | BD_DEBUG(DBG_DIR, "Opening POSIX dir %s... (%p)\n", dirname, dir); |