changeset 26398:f79cdff78e10

Set dll_type and rv_handle for drvc.dll
author zuxy
date Sun, 13 Apr 2008 02:35:30 +0000
parents f250e353a56b
children de755fff9d74
files libmpcodecs/vd_realvid.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_realvid.c	Sun Apr 13 01:29:24 2008 +0000
+++ b/libmpcodecs/vd_realvid.c	Sun Apr 13 02:35:30 2008 +0000
@@ -232,8 +232,11 @@
     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);