From b793f06aca233b775fe8093a2c9dfb0694950772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 7 Sep 2026 02:09:24 +0300 Subject: [PATCH] style(av1): wrap the content-gate condition the way rustfmt does --- crates/ec-av1/src/encoder.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ec-av1/src/encoder.rs b/crates/ec-av1/src/encoder.rs index 5cac71dd..2b411293 100644 --- a/crates/ec-av1/src/encoder.rs +++ b/crates/ec-av1/src/encoder.rs @@ -799,7 +799,9 @@ impl Av1Encoder { // the other path never filled. Per-GOP re-decision needs the two // reference sets kept in step first; the gate's own recipe codes one // GOP per stream, where the two are the same decision. - if self.pyramid.is_some() && self.next_index == 0 && crate::encode::picture_is_screen(picture) + if self.pyramid.is_some() + && self.next_index == 0 + && crate::encode::picture_is_screen(picture) { self.pyramid = None; }