Mercurial > mplayer.hg
diff loader/win32.c @ 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 | 586d7ee3c106 |
children | 593921728191 |
line wrap: on
line diff
--- 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)