1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

Document some of the ext_stub magic.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30320 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-16 15:04:17 +00:00
parent e09b799ade
commit ee2a738ff8

View File

@ -5326,6 +5326,8 @@ struct libs libraries[]={
static WIN_BOOL WINAPI ext_stubs(void)
{
// NOTE! these magic values will be replaced at runtime, make sure
// add_stub can still find them if you change them.
volatile int idx = 0x0deadabc;
// make sure gcc does not do eip-relative call or something like that
void (* volatile my_printf)(char *, char *) = (void *)0xdeadfbcd;