[MPlayer-dev-eng] PATCH [5/12] CoreAVC Decoder Support
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Feb 8 23:49:59 CET 2007
hello,
On Thu, Feb 08, 2007 at 02:07:30PM -0800, Alan Nisota wrote:
> 005pecompact2.patch: adds support for the PECompact2 dll compression
> tool. We need to hook SIGSEGV because PECompact2 uses this to swap from
> the compressed to uncompressed image on the fly.
> Index: loader/win32.c
> ===================================================================
> --- loader/win32.c.orig 2007-02-07 22:58:12.000000000 -0800
> +++ loader/win32.c 2007-02-07 22:58:18.000000000 -0800
> @@ -3603,7 +3603,7 @@
> dbgprintf("CreateFileA(0x%x='%s', %d, %d, 0x%x, %d, %d, 0x%x)\n", cs1, cs1, i1,
> i2, p1, i3, i4, i5);
> if((!cs1) || (strlen(cs1)<2))return -1;
> -
> + if(strstr(cs1, "\\\\.\\")) return -1; //Hack for PECompact2
Is this really supposed to be strstr and not strncmp??
I would also leave the empty line in...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list