[x264-devel] Access violation in SSE2 assembly when compiling with Visual Studio
Jason Garrett-Glaser
darkshikari at gmail.com
Tue Jun 24 20:19:31 CEST 2008
On Fri, Jun 20, 2008 at 10:06 AM, Rico Huijbers
<e.a.m.huijbers at student.tue.nl> wrote:
> Hi,
>
> I'm having a problem getting x264 to work after compiling it with Visual
> Studio Express C++ 2008 and NASM 2.03.01.
Visual Studio does not maintain mod16 stack alignment and therefore
any assembly function that relies on it will probably crash. This
includes the SSE2 deblocking routines and SSE2 avg_weight also.
A patch is in the works to disable these under MSVC, enabling building
x264 on MSVC at the cost of a significant speed hit. Either way, use
of gcc is highly recommend and use of MSVC highly discouraged.
Dark Shikari
More information about the x264-devel
mailing list