From 445082856fec2be71d33d6415801317ceecc0cbd Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Wed, 28 Jul 2010 11:42:06 -0700 Subject: [PATCH] Remove dead code in slicetype.c --- encoder/slicetype.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/encoder/slicetype.c b/encoder/slicetype.c index b5153842..2bc3ee93 100644 --- a/encoder/slicetype.c +++ b/encoder/slicetype.c @@ -426,16 +426,7 @@ lowres_intra_mb: pix[i*FDEC_STRIDE] = src[i*i_stride]; pix++; - if( h->pixf.intra_mbcmp_x3_8x8c ) - h->pixf.intra_mbcmp_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds ); - else - { - for( int i = 0; i < 3; i++ ) - { - h->predict_8x8c[i]( pix ); - satds[i] = h->pixf.mbcmp[PIXEL_8x8]( pix, FDEC_STRIDE, h->mb.pic.p_fenc[0], FENC_STRIDE ); - } - } + h->pixf.intra_mbcmp_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds ); int i_icost = X264_MIN3( satds[0], satds[1], satds[2] ); if( h->param.analyse.i_subpel_refine > 1 ) -- 2.40.0