summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_realaud.c2
-rw-r--r--libmpcodecs/vd_realvid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad_realaud.c b/libmpcodecs/ad_realaud.c
index 632a2ed61e..0de5d24344 100644
--- a/libmpcodecs/ad_realaud.c
+++ b/libmpcodecs/ad_realaud.c
@@ -223,7 +223,7 @@ static int preinit(sh_audio_t *sh){
if (strstr(sh->codec->dll,".dll") || !load_syms_linux(path))
#endif
#ifdef USE_WIN32DLL
- if (!load_sysm_windows(path))
+ if (!load_sysm_windows(sh->codec->dll))
#endif
{
mp_msg(MSGT_DECVIDEO, MSGL_ERR, MSGTR_MissingDLLcodec, sh->codec->dll);
diff --git a/libmpcodecs/vd_realvid.c b/libmpcodecs/vd_realvid.c
index ff0925ee46..5f6669bd95 100644
--- a/libmpcodecs/vd_realvid.c
+++ b/libmpcodecs/vd_realvid.c
@@ -211,7 +211,7 @@ static int init(sh_video_t *sh){
if(strstr(sh->codec->dll,".dll") || !load_syms_linux(path))
#endif
#ifdef USE_WIN32DLL
- if (!load_syms_windows(path))
+ if (!load_syms_windows(sh->codec->dll))
#endif
{
mp_msg(MSGT_DECVIDEO,MSGL_ERR,MSGTR_MissingDLLcodec,sh->codec->dll);