diff options
-rw-r--r-- | lib/libdvd/libdvdread/src/dvd_reader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libdvd/libdvdread/src/dvd_reader.c b/lib/libdvd/libdvdread/src/dvd_reader.c index d7ff12eb00..f5ee550404 100644 --- a/lib/libdvd/libdvdread/src/dvd_reader.c +++ b/lib/libdvd/libdvdread/src/dvd_reader.c @@ -429,6 +429,9 @@ dvd_reader_t *DVDOpen( const char *ppath ) /* Also WIN32 does not have symlinks, so we don't need this bit of code. */ /* Resolve any symlinks and get the absolute dir name. */ +#if defined(_XBMC) /* for XBMC, only do symlink resolution for (real) non-xbmc-VFS paths */ + if ( path[0] == '/' ) +#endif // _XBMC { if( ( cdir = open( ".", O_RDONLY ) ) >= 0 ) { if( chdir( path_copy ) == -1 ) { |