Commit 65324952 authored by Fiona Glaser's avatar Fiona Glaser
Browse files

Resolve floating point exception with frame_init_lowres mmx

In some cases, the mmx version of frame_init_lowres could leave the FPU uninitialized for use in ratecontrol, resulting in floating point exceptions.
Since frame_init_lowres is such a time-consuming function, an emms was just put at the end, since it costs almost nothing compared to the total time of frame_init_lowres.
parent 552a04ea
......@@ -643,6 +643,7 @@ cglobal x264_frame_init_lowres_core_%1, 6,7
dec dword r8m
jg .vloop
ADD rsp, 2*push_size
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