aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);