]> git.videolan.org Git - x264.git/commitdiff
Resolve quality regression in r996
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 3 Oct 2008 01:11:13 +0000 (18:11 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 3 Oct 2008 01:11:13 +0000 (18:11 -0700)
Accidentally removed the wrong line of code.  I think this classifies as a "10l".
Thanks to techouse for initial bug report and skystrife for helping me find it.

encoder/analyse.c

index db4917bcc00767f243e495ba33600a7f435e8545..05ab9629983170be17d6ab126858c74a3574100b 100644 (file)
@@ -212,6 +212,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
     h->mb.i_chroma_qp = h->chroma_qp_table[i_qp];
     a->i_lambda = x264_lambda_tab[i_qp];
     a->i_lambda2 = x264_lambda2_tab[i_qp];
+    h->mb.i_me_method = h->param.analyse.i_me_method;
     h->mb.i_subpel_refine = h->param.analyse.i_subpel_refine;
     h->mb.b_chroma_me = h->param.analyse.b_chroma_me && h->sh.i_type == SLICE_TYPE_P
                         && h->mb.i_subpel_refine >= 5;