From 21eb522cfd8f261d41a0330ddf61c1a3ef3d4003 Mon Sep 17 00:00:00 2001 From: Voyager1 Date: Fri, 10 May 2013 16:29:11 +0200 Subject: [libdvdread] Fix Playback of VIDEO_TS folders broken on SMB and NFS - thx @kraqh3d --- lib/libdvd/libdvdread/src/dvd_reader.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libdvd') 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 ) { -- cgit v1.2.3