Commit 49638791 authored by Fiona Glaser's avatar Fiona Glaser

Fix possible crash on Phenom with lookahead thread disabled

Misalign mask needs to be set for the main thread on entry, too.
parent 2ae5b902
......@@ -2359,7 +2359,7 @@ int x264_encoder_encode( x264_t *h,
thread_oldest = h;
}
#if HAVE_MMX
if( h->i_thread_frames == 1 && h->param.cpu&X264_CPU_SSE_MISALIGN )
if( h->param.cpu&X264_CPU_SSE_MISALIGN )
x264_cpu_mask_misalign_sse();
#endif
......
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