forge
Explore
Log in

Don't you dare go Hollow

Wrap the content-gate condition the way rustfmt does

Browse files at this commit

b793f06aca233b775fe8093a2c9dfb0694950772Ahmet Kaan GümüşParent: 3c2169c
  • style
    • wrap the content-gate condition the way rustfmt does
Show full message
style(av1): wrap the content-gate condition the way rustfmt does
crates/ec-av1/src/encoder.rsmodified+3 -1
@@ -799,7 +799,9 @@ impl Av1Encoder {
799 // the other path never filled. Per-GOP re-decision needs the two799 // the other path never filled. Per-GOP re-decision needs the two
800 // reference sets kept in step first; the gate's own recipe codes one800 // reference sets kept in step first; the gate's own recipe codes one
801 // GOP per stream, where the two are the same decision.801 // GOP per stream, where the two are the same decision.
802- if self.pyramid.is_some() && self.next_index == 0 && crate::encode::picture_is_screen(picture)802+ if self.pyramid.is_some()
803+ && self.next_index == 0
804+ && crate::encode::picture_is_screen(picture)
803 {805 {
804 self.pyramid = None;806 self.pyramid = None;
805 }807 }