[DVDnav-discuss] r884 - trunk/libdvdnav/src/dvdread/dvd_input.c
reimar
subversion at mplayerhq.hu
Thu Apr 19 17:45:30 CEST 2007
Author: reimar
Date: Thu Apr 19 17:45:30 2007
New Revision: 884
Modified:
trunk/libdvdnav/src/dvdread/dvd_input.c
Log:
Move identical dlopen statements outside #ifdef mess
Modified: trunk/libdvdnav/src/dvdread/dvd_input.c
==============================================================================
--- trunk/libdvdnav/src/dvdread/dvd_input.c (original)
+++ trunk/libdvdnav/src/dvdread/dvd_input.c Thu Apr 19 17:45:30 2007
@@ -289,14 +289,12 @@ int dvdinput_setup(void)
#ifdef __APPLE__
#define CSS_LIB "libdvdcss.2.dylib"
- dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);
#elif defined(WIN32)
#define CSS_LIB "libdvdcss.dll"
- dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);
#else
#define CSS_LIB "libdvdcss.so.2"
- dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);
#endif
+ dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);
if(dvdcss_library != NULL) {
#if defined(__OpenBSD__) && !defined(__ELF__)
More information about the DVDnav-discuss
mailing list