[MPlayer-dev-eng] [PATCH] Re: libcss support returns
Jim Radford
radford at robotics.caltech.edu
Fri Jan 11 20:39:48 CET 2002
Hi Gabor,
> Default for this option is /usr/local/lib/libcss.so
I noticed while looking through the code that you hard coded the path
which makes no sense in an environment that uses --prefix. I would
think that using a relative path would be more flexible since it would
then use LD_LIBRARY_PATH, but still allow someone to set it to
something specific via -csslib.
Thanks,
-Jim
Index: dvdauth.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/dvdauth.c,v
retrieving revision 1.10
diff -u -r1.10 dvdauth.c
--- dvdauth.c 4 Jan 2002 13:08:14 -0000 1.10
+++ dvdauth.c 11 Jan 2002 19:36:04 -0000
@@ -198,7 +198,7 @@
{
DVDHandle dvd; /* DVD device handle */
- if (!css_so) css_so=strdup("/usr/local/lib/libcss.so");
+ if (!css_so) css_so=strdup("libcss.so");
printf("DVD: opening libcss.so as %s ...\n",css_so);
dlid=dlopen(css_so,RTLD_NOW);
if (!dlid) {
More information about the MPlayer-dev-eng
mailing list