Mercurial > mplayer.hg
comparison libmpcodecs/vd_realvid.c @ 26388:a630c8945001
Cosmetic fix for r26419
author | zuxy |
---|---|
date | Sat, 12 Apr 2008 18:31:08 +0000 |
parents | 49715c7705d1 |
children | b65cf3a35900 |
comparison
equal
deleted
inserted
replaced
26387:49715c7705d1 | 26388:a630c8945001 |
---|---|
212 0x0f, 0x86, 0xd0, 0x00, 0x00, 0x00 }; | 212 0x0f, 0x86, 0xd0, 0x00, 0x00, 0x00 }; |
213 static const uint8_t newcode[13] = { | 213 static const uint8_t newcode[13] = { |
214 0x31, 0xc0, | 214 0x31, 0xc0, |
215 0x89, 0x83, 0xf8, 0x05, 0x00, 0x00, | 215 0x89, 0x83, 0xf8, 0x05, 0x00, 0x00, |
216 0xe9, 0xd0, 0x00, 0x00, 0x00 }; | 216 0xe9, 0xd0, 0x00, 0x00, 0x00 }; |
217 patched = patch_dll((char*)wrvyuv_transform + 0x634132fa - 0x634114d0, oldcode, newcode, | 217 patched = patch_dll( |
218 sizeof(oldcode)); | 218 (char*)wrvyuv_transform + 0x634132fa - 0x634114d0, |
219 oldcode, newcode, sizeof(oldcode)); | |
219 if (!patched) | 220 if (!patched) |
220 mp_msg(MSGT_DECVIDEO, MSGL_WARN, "Could not patch Real codec, this might crash on multi-CPU systems\n"); | 221 mp_msg(MSGT_DECVIDEO, MSGL_WARN, "Could not patch Real codec, this might crash on multi-CPU systems\n"); |
221 } | 222 } |
222 } | 223 } |
223 #endif | 224 #endif |