Commit b9ce3a10 authored by Fiona Glaser's avatar Fiona Glaser

Fix rare deadlock introduced in weightp

parent de0e8735
......@@ -378,8 +378,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
for( j=0; j<i_ref; j++ )
{
x264_frame_cond_wait( fref[j]->orig, thresh );
fref[j]->i_lines_completed = fref[j]->orig->i_lines_completed;
thread_mvy_range = X264_MIN( thread_mvy_range, fref[j]->i_lines_completed - pix_y );
thread_mvy_range = X264_MIN( thread_mvy_range, fref[j]->orig->i_lines_completed - pix_y );
}
}
......
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