[x264-devel] commit: Fix rare deadlock introduced in weightp (Jason Garrett-Glaser )

git version control git at videolan.org
Sun Nov 15 04:02:59 CET 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat Nov 14 18:40:22 2009 -0800| [c272e0236b2dc7474b71998a45b1f9d017818f90] | committer: Jason Garrett-Glaser 

Fix rare deadlock introduced in weightp

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c272e0236b2dc7474b71998a45b1f9d017818f90
---

 encoder/analyse.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/encoder/analyse.c b/encoder/analyse.c
index 48499e1..7e2f5f4 100644
--- a/encoder/analyse.c
+++ b/encoder/analyse.c
@@ -378,7 +378,6 @@ 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 );
                     }
                 }



More information about the x264-devel mailing list