diff options
author | Voyager1 <voyager@xbmc.org> | 2013-05-10 16:29:11 +0200 |
---|---|---|
committer | Voyager1 <voyager@xbmc.org> | 2013-05-10 20:36:18 +0200 |
commit | 21eb522cfd8f261d41a0330ddf61c1a3ef3d4003 (patch) | |
tree | 59f7d69f4e062bd34d2737bd33fa47952840a8d6 /lib/libdvd | |
parent | 0bb20d347c56dd8302d8e945b36c7870ebe3d8f7 (diff) |
[libdvdread] Fix Playback of VIDEO_TS folders broken on SMB and NFS - thx @kraqh3d
Diffstat (limited to 'lib/libdvd')
-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 ) { |