changeset 26444:cea51ac82475

Support for MSU SCLS (Screen Capture Lossless Codec) with SCLS.DLL codecs.conf patch by AsSlowAsHell |asslowashell | g m a i l| win32.c patch by me
author rtogni
date Sun, 20 Apr 2008 21:13:17 +0000
parents e0842af76afd
children edc34d083665
files etc/codecs.conf loader/win32.c
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sun Apr 20 19:44:21 2008 +0000
+++ b/etc/codecs.conf	Sun Apr 20 21:13:17 2008 +0000
@@ -362,6 +362,14 @@
 
 ;WIN32:
 
+videocodec msuscls
+  info "MSU Screen Capture Lossless Codec"
+  status working
+  fourcc SCLS
+  driver vfw
+  dll "SCLS.DLL"
+  out BGR32,BGR24,BGR16 flip
+
 videocodec cram
   info "Microsoft Video 1"
   comment "-vf palette required for 8bpp"
--- a/loader/win32.c	Sun Apr 20 19:44:21 2008 +0000
+++ b/loader/win32.c	Sun Apr 20 21:13:17 2008 +0000
@@ -4837,6 +4837,22 @@
     return 0;
 }
 
+/* Fake implementation of sdt::_Lockit::_Lockit(void) from msvcp60.dll
+   Needed by SCLS.DLL */
+static int exp_0Lockit_dummy(void)
+{
+    dbgprintf("0Lockit_dummy (??0_Lockit@std@@QAE@XZ)\n");
+    return 0;
+}
+
+/* Fake implementation of sdt::_Lockit::~_Lockit(void) from msvcp60.dll
+   Needed by SCLS.DLL */
+static int exp_1Lockit_dummy(void)
+{
+    dbgprintf("1Lockit_dummy (??1_Lockit@std@@QAE@XZ)\n");
+    return 0;
+}
+
 struct exports
 {
     char name[64];
@@ -5276,6 +5292,11 @@
     FF(_decode_pointer, -1)
 };
 
+struct exports exp_msvcp60[]={
+    {"??0_Lockit@std@@QAE@XZ", -1, exp_0Lockit_dummy},
+    {"??1_Lockit@std@@QAE@XZ", -1, exp_1Lockit_dummy}
+};
+
 #define LL(X) \
     {#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X},
 
@@ -5302,6 +5323,7 @@
     LL(comdlg32)
     LL(shlwapi)
     LL(msvcr80)
+    LL(msvcp60)
 };
 
 static WIN_BOOL WINAPI ext_stubs(void)