mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
Check for drvc.dll entries for mingw32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26416 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d9c8ac03a1
commit
b7e24c2758
@ -224,6 +224,17 @@ static int load_syms_windows(char *path) {
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
wrvyuv_custom_message = GetProcAddress(handle, "RV40toYUV420CustomMessage");
|
||||
wrvyuv_free = GetProcAddress(handle, "RV40toYUV420Free");
|
||||
wrvyuv_init = GetProcAddress(handle, "RV40toYUV420Init");
|
||||
wrvyuv_transform = GetProcAddress(handle, "RV40toYUV420Transform");
|
||||
if(wrvyuv_custom_message &&
|
||||
wrvyuv_free &&
|
||||
wrvyuv_init &&
|
||||
wrvyuv_transform)
|
||||
return 1;
|
||||
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_WARN,"Error resolving symbols! (version incompatibility?)\n");
|
||||
FreeLibrary(handle);
|
||||
return 0; // error
|
||||
|
Loading…
Reference in New Issue
Block a user