From: Jaroslav Kysela Date: Sat, 14 Jun 2003 07:38:28 +0000 (+0000) Subject: One more fix to dlsym X-Git-Tag: v1.0.3~166 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3298a54dbdf283393cf7d6cfd067c4d66ba2e62b;p=alsa-lib.git One more fix to dlsym --- diff --git a/src/pcm/pcm_ladspa.c b/src/pcm/pcm_ladspa.c index f96cf1b8..23516293 100644 --- a/src/pcm/pcm_ladspa.c +++ b/src/pcm/pcm_ladspa.c @@ -722,7 +722,7 @@ static int snd_pcm_ladspa_check_file(snd_pcm_ladspa_plugin_t * const plugin, assert(filename); handle = dlopen(filename, RTLD_LAZY); 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) { long idx; const LADSPA_Descriptor *d;