From d2bbc878f3f77275498b08d155eec95c7ff12d41 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 19 Jul 2003 22:05:16 +0000 Subject: [PATCH] Win32 codec paths in vd_realvid.c Patch by Glyn Kennington . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10445 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_realaud.c | 2 +- libmpcodecs/vd_realvid.c | 2 +- 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);