[MPlayer-cvslog] r26476 - in trunk: etc/codecs.conf loader/win32.c
rtogni
subversion at mplayerhq.hu
Sun Apr 20 23:13:17 CEST 2008
Author: rtogni
Date: Sun Apr 20 23:13:17 2008
New Revision: 26476
Log:
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
Modified:
trunk/etc/codecs.conf
trunk/loader/win32.c
Modified: trunk/etc/codecs.conf
==============================================================================
--- trunk/etc/codecs.conf (original)
+++ trunk/etc/codecs.conf Sun Apr 20 23:13:17 2008
@@ -362,6 +362,14 @@ videocodec theora
;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"
Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c (original)
+++ trunk/loader/win32.c Sun Apr 20 23:13:17 2008
@@ -4837,6 +4837,22 @@ static int exp_decode_pointer(void *ptr)
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 at std@@QAE at 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 at std@@QAE at XZ)\n");
+ return 0;
+}
+
struct exports
{
char name[64];
@@ -5276,6 +5292,11 @@ struct exports exp_msvcr80[]={
FF(_decode_pointer, -1)
};
+struct exports exp_msvcp60[]={
+ {"??0_Lockit at std@@QAE at XZ", -1, exp_0Lockit_dummy},
+ {"??1_Lockit at std@@QAE at XZ", -1, exp_1Lockit_dummy}
+};
+
#define LL(X) \
{#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X},
@@ -5302,6 +5323,7 @@ struct libs libraries[]={
LL(comdlg32)
LL(shlwapi)
LL(msvcr80)
+ LL(msvcp60)
};
static WIN_BOOL WINAPI ext_stubs(void)
More information about the MPlayer-cvslog
mailing list