Ticket #1737: dvd_input.c.patch

File dvd_input.c.patch, 400 bytes (added by awk@…, 14 years ago)

Patch to libs/libmythdvdnav/dvd_input.c loads CSS library if present on DYLD_LIBRARY_PATH on Mac OS X

  • dvd_input.c

     
    289289
    290290#ifndef WIN32
    291291  dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
     292  if (!dvdcss_library)
     293        dvdcss_library = dlopen("libdvdcss.2.dylib", RTLD_LAZY);
    292294#else
    293295  dvdcss_library = dlopen("libdvdcss.dll", RTLD_LAZY);
    294296#endif