diff options
author | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 18:23:26 +0000 |
---|---|---|
committer | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 18:23:26 +0000 |
commit | 221c40a86c3d4226888b3f878c18ad1196939183 (patch) | |
tree | 1451b3f8c88ffd8631ad8aa2cbae6625c57782c7 /libmpcodecs | |
parent | b7e24c2758c2bbfa19eb406f9de93456ab8f2908 (diff) |
Don't print "Could not patch" messages when we haven't actually tried to patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26417 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_realvid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_realvid.c b/libmpcodecs/vd_realvid.c index d410612257..4950c3b115 100644 --- a/libmpcodecs/vd_realvid.c +++ b/libmpcodecs/vd_realvid.c @@ -204,9 +204,9 @@ static int load_syms_windows(char *path) { rv_handle = handle; #ifndef WIN32_LOADER { - int patched = 0; // drv43260.dll if (wrvyuv_transform == (void *)0x634114d0) { + int patched; // patch away multithreaded decoding, it causes crashes static const uint8_t oldcode[13] = { 0x83, 0xbb, 0xf8, 0x05, 0x00, 0x00, 0x01, @@ -217,9 +217,9 @@ static int load_syms_windows(char *path) { 0xe9, 0xd0, 0x00, 0x00, 0x00 }; patched = patch_dll((void *)0x634132fa, oldcode, newcode, sizeof(oldcode)); - } if (!patched) mp_msg(MSGT_DECVIDEO, MSGL_WARN, "Could not patch Real codec, this might crash on multi-CPU systems\n"); + } } #endif return 1; |