changeset 7097:5c87f14ad947

SetDLLAccessPath isn't used. Patch by Andres Hess <jaska@gmx.net>
author alex
date Tue, 27 Aug 2002 15:46:41 +0000
parents 6746866a94c6
children 37b0958a1cad
files libmpcodecs/ad_real.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_real.c	Tue Aug 27 09:57:12 2002 +0000
+++ b/libmpcodecs/ad_real.c	Tue Aug 27 15:46:41 2002 +0000
@@ -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;
   }