From: Fiona Glaser Date: Sun, 20 Jul 2014 03:34:22 +0000 (-0700) Subject: Disable i8x8 in lossless X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af8e768e2bd3b4398bca033998f83b0eb8874914;p=libx264 Disable i8x8 in lossless x264's implementation was slightly incorrect due to a vague spec, so some decoders decoded video incorrectly. Minimal impact on compression. --- diff --git a/encoder/encoder.c b/encoder/encoder.c index 416bf0cf..bd26a9f4 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -818,6 +818,8 @@ static int x264_validate_parameters( x264_t *h, int b_open ) /* 8x8dct is not useful without RD in CAVLC lossless */ if( !h->param.b_cabac && h->param.analyse.i_subpel_refine < 6 ) h->param.analyse.b_transform_8x8 = 0; + h->param.analyse.inter &= ~X264_ANALYSE_I8x8; + h->param.analyse.intra &= ~X264_ANALYSE_I8x8; } if( h->param.rc.i_rc_method == X264_RC_CQP ) {