Set dll_type and rv_handle for drvc.dll

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26430 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
zuxy 2008-04-13 02:35:30 +00:00
parent 42880d2821
commit 64f6c99f59
1 changed files with 4 additions and 1 deletions

View File

@ -232,8 +232,11 @@ static int load_syms_windows(char *path) {
if(wrvyuv_custom_message &&
wrvyuv_free &&
wrvyuv_init &&
wrvyuv_transform)
wrvyuv_transform) {
dll_type = 1;
rv_handle = handle;
return 1;
}
mp_msg(MSGT_DECVIDEO,MSGL_WARN,"Error resolving symbols! (version incompatibility?)\n");
FreeLibrary(handle);