Commit d2c6e84d authored by Fiona Glaser's avatar Fiona Glaser Committed by Loren Merritt

Fix crash with threads and SSEMisalign on Phenom

Misalign mask needed to be set separately for each encoding thread.
parent 80ea99c0
......@@ -1312,6 +1312,12 @@ static int x264_slices_write( x264_t *h )
{
int i_frame_size;
#ifdef HAVE_MMX
/* Misalign mask has to be set separately for each thread. */
if( h->param.cpu&X264_CPU_SSE_MISALIGN )
x264_cpu_mask_misalign_sse();
#endif
#if VISUALIZE
if( h->param.b_visualize )
x264_visualize_init( h );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment