aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-13 02:35:30 +0000
committerGravatar zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-13 02:35:30 +0000
commit64f6c99f599ed3f0a87eaae52d0292ae5f1cf5ba (patch)
tree2ea892e888da427d84a674dce9ad091132b63251 /libmpcodecs
parent42880d282121bf93571480b8254669225fb2ed22 (diff)
Set dll_type and rv_handle for drvc.dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26430 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_realvid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpcodecs/vd_realvid.c b/libmpcodecs/vd_realvid.c
index f876cce498..0c346ef42a 100644
--- a/libmpcodecs/vd_realvid.c
+++ b/libmpcodecs/vd_realvid.c
@@ -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);