mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 20:34:58 +00:00
Win32 codec paths in vd_realvid.c
Patch by Glyn Kennington <glyn.kennington at hertford.oxford.ac.uk>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10445 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc7792fd7c
commit
d2bbc878f3
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user