[Mplayer-cvslog] CVS: main/libmpcodecs ad_real.c,1.11,1.12

Alex Beregszaszi alex at mplayerhq.hu
Tue Aug 27 17:46:57 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv20835

Modified Files:
	ad_real.c 
Log Message:
SetDLLAccessPath isn't used. Patch by Andres Hess <jaska at gmx.net>

Index: ad_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_real.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ad_real.c	25 Aug 2002 01:12:41 -0000	1.11
+++ ad_real.c	27 Aug 2002 15:46:41 -0000	1.12
@@ -42,7 +42,7 @@
 static unsigned long (*raInitDecoder)(unsigned long,unsigned long);
 static unsigned long (*raOpenCodec2)(unsigned long);
 static unsigned long (*raSetFlavor)(unsigned long,unsigned long);
-static void  (*raSetDLLAccessPath)(unsigned long);
+//static void  (*raSetDLLAccessPath)(unsigned long);
 static void  (*raSetPwd)(char*,char*);
 
 typedef struct {
@@ -78,12 +78,12 @@
     raOpenCodec2 = dlsym(handle, "RAOpenCodec2");
     raInitDecoder = dlsym(handle, "RAInitDecoder");
     raSetFlavor = dlsym(handle, "RASetFlavor");
-    raSetDLLAccessPath = dlsym(handle, "SetDLLAccessPath");
+//    raSetDLLAccessPath = dlsym(handle, "SetDLLAccessPath");
     raSetPwd = dlsym(handle, "RASetPwd"); // optional, used by SIPR
     
   if(!raCloseCodec || !raDecode || !raFlush || !raFreeDecoder ||
      !raGetFlavorProperty || !raOpenCodec2 || !raSetFlavor ||
-     !raSetDLLAccessPath || !raInitDecoder){
+     /*!raSetDLLAccessPath ||*/ !raInitDecoder){
       mp_msg(MSGT_DECAUDIO,MSGL_WARN,"Cannot resolve symbols - incompatible dll\n");
       return 0;
   }




More information about the MPlayer-cvslog mailing list