summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/libdvdnav')
-rw-r--r--src/input/libdvdnav/dvd_input.c2
-rw-r--r--src/input/libdvdnav/vm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/input/libdvdnav/dvd_input.c b/src/input/libdvdnav/dvd_input.c
index 47084016c..1e7775c73 100644
--- a/src/input/libdvdnav/dvd_input.c
+++ b/src/input/libdvdnav/dvd_input.c
@@ -170,7 +170,7 @@ static dvd_input_t file_open(const char *target)
/* Open the device */
#ifndef WIN32
- dev->fd = open(target, O_RDONLY | O_EXCL);
+ dev->fd = open(target, O_RDONLY);
#else
dev->fd = open(target, O_RDONLY | O_BINARY);
#endif
diff --git a/src/input/libdvdnav/vm.c b/src/input/libdvdnav/vm.c
index 223b8e85b..1ab8c8e1d 100644
--- a/src/input/libdvdnav/vm.c
+++ b/src/input/libdvdnav/vm.c
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: vm.c,v 1.27 2004/03/16 11:43:38 mroi Exp $
+ * $Id: vm.c,v 1.28 2004/04/05 18:01:09 hadess Exp $
*
*/
@@ -135,7 +135,7 @@ static void dvd_read_name(char *name, const char *device) {
uint8_t data[DVD_VIDEO_LB_LEN];
/* Read DVD name */
- fd = open(device, O_RDONLY | O_EXCL);
+ fd = open(device, O_RDONLY);
if (fd > 0) {
off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET );
if( off == ( 32 * (off_t) DVD_VIDEO_LB_LEN ) ) {