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

100l, forgot to change the "magic" value in the stub also in the place replacing it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30319 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-16 15:02:49 +00:00
parent 8568e701ea
commit e09b799ade

View File

@ -5355,7 +5355,7 @@ static void* add_stub(void)
memcpy(answ, ext_stubs, MAX_STUB_SIZE); memcpy(answ, ext_stubs, MAX_STUB_SIZE);
for (i = 0; i < MAX_STUB_SIZE - 3; i++) { for (i = 0; i < MAX_STUB_SIZE - 3; i++) {
int *magic = (int *)(answ + i); int *magic = (int *)(answ + i);
if (*magic == 0xdeadabcd) { if (*magic == 0x0deadabc) {
*magic = pos; *magic = pos;
found |= 1; found |= 1;
} }