From 34d321ba5c1730c92be7e2d874472b3ff66a82d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Dec 2026 13:38:54 +0300 Subject: [PATCH] U6: ec-h264 mb.rs chroma zero-block lambda: both branches of the intra check were transform_8x8 (ablation leftover), so the if goes --- crates/ec-h264/src/enc/mb.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/crates/ec-h264/src/enc/mb.rs b/crates/ec-h264/src/enc/mb.rs index 88a23e9c..e72c47c9 100644 --- a/crates/ec-h264/src/enc/mb.rs +++ b/crates/ec-h264/src/enc/mb.rs @@ -1922,15 +1922,7 @@ fn code_chroma( &source, &resid, &ac[comp][blk], - zero_block_lambda( - e, - qp_c, - if intra { - e.transform_8x8 - } else { - e.transform_8x8 - }, - ), + zero_block_lambda(e, qp_c, e.transform_8x8), ) { ac[comp][blk] = [0; 16]; nz = 0;