[FFmpeg-cvslog] r29509 - trunk/libswscale/swscale.c
Ramiro Polla
ramiro.polla
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...
Name: virtualprotect.diff
Type: text/x-diff
Size: 1645 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090813/8db555f1/attachment.diff>
More information about the ffmpeg-cvslog
mailing list