One more fix to dlsym

This commit is contained in:
Jaroslav Kysela 2003-06-14 07:38:28 +00:00
parent 8bf6c1e5e6
commit 3298a54dbd

View file

@ -722,7 +722,7 @@ static int snd_pcm_ladspa_check_file(snd_pcm_ladspa_plugin_t * const plugin,
assert(filename); assert(filename);
handle = dlopen(filename, RTLD_LAZY); handle = dlopen(filename, RTLD_LAZY);
if (handle) { if (handle) {
LADSPA_Descriptor_Function fcn = (LADSPA_Descriptor_Function)dlsym(handle, "ladspa_descriptor", SND_DLSYM_VERSION(SND_PCM_DLSYM_VERSION)); LADSPA_Descriptor_Function fcn = (LADSPA_Descriptor_Function)dlsym(handle, "ladspa_descriptor");
if (fcn) { if (fcn) {
long idx; long idx;
const LADSPA_Descriptor *d; const LADSPA_Descriptor *d;