From: Jason Garrett-Glaser Date: Sun, 15 Nov 2009 02:40:22 +0000 (-0800) Subject: Fix rare deadlock introduced in weightp X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=e76a4adb1c8ee27748847656450c815f60d2fe6d;p=x264.git Fix rare deadlock introduced in weightp --- diff --git a/encoder/analyse.c b/encoder/analyse.c index 48499e1a..f88052c2 100644 --- a/encoder/analyse.c +++ b/encoder/analyse.c @@ -378,8 +378,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp ) for( j=0; jorig, 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 ); } }