[FFmpeg-cvslog] r29509 - trunk/libswscale/swscale.c
Fri Aug 14 03:46:12 CEST 2009
On Thu, Aug 13, 2009 at 4:24 PM, Reimar
D?ffinger<Reimar.Doeffinger at gmx.de> wrote:
> And the Windows code should be
> DWORD dummy;
> VirtualProtect(c->lumMmx2FilterCode, MAX_MMX2_FILTER_CODE_SIZE, PAGE_EXECUTE, &dummy);
> with VirtualAlloc using PAGE_READWRITE.
> And yes, for some idiotic reason, dummy is necessary.
Attached patch tested on Windows XP. Not tested on Win64 (where
malloc'd memory failed and we had to use VirtualAlloc()).
I tested the w32thread change as well... (not exhaustively though)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1645 bytes
Desc: not available
More information about the ffmpeg-cvslog