1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00

The original asm code for the stub returned 0, restore that behaviour.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-03-03 17:25:18 +00:00
parent fa4f66ca08
commit 96344b6d9c

View File

@ -5291,12 +5291,13 @@ struct libs libraries[]={
LL(shlwapi)
};
static void ext_stubs(void)
static WIN_BOOL WINAPI ext_stubs(void)
{
volatile int idx = 0xdeadabcd;
// make sure gcc does not do eip-relative call or something like that
volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
my_printf("Called unk_%s\n", export_names[idx]);
return 0;
}
#define MAX_STUB_SIZE 0x60