[MPlayer-cvslog] r26416 - trunk/libmpcodecs/vd_realvid.c
zuxy
subversion at mplayerhq.hu
Sat Apr 12 20:19:52 CEST 2008
Author: zuxy
Date: Sat Apr 12 20:19:51 2008
New Revision: 26416
Log:
Check for drvc.dll entries for mingw32
Modified:
trunk/libmpcodecs/vd_realvid.c
Modified: trunk/libmpcodecs/vd_realvid.c
==============================================================================
--- trunk/libmpcodecs/vd_realvid.c (original)
+++ trunk/libmpcodecs/vd_realvid.c Sat Apr 12 20:19:51 2008
@@ -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
More information about the MPlayer-cvslog
mailing list