Mercurial > libdvdnav.hg
changeset 284:a5f395f352c9 src
Move identical dlopen statements outside #ifdef mess
author | reimar |
---|---|
date | Thu, 19 Apr 2007 15:45:30 +0000 |
parents | d0b684fc4b1f |
children | 52877d182e96 |
files | dvdread/dvd_input.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dvdread/dvd_input.c Wed Apr 18 22:41:10 2007 +0000 +++ b/dvdread/dvd_input.c Thu Apr 19 15:45:30 2007 +0000 @@ -289,14 +289,12 @@ #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" +#endif dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY); -#endif if(dvdcss_library != NULL) { #if defined(__OpenBSD__) && !defined(__ELF__)