Wrap the content-gate condition the way rustfmt does
Browse files at this commitb793f06aca233b775fe8093a2c9dfb0694950772Parent: 3c2169c- style
- wrap the content-gate condition the way rustfmt does
1 changed file +3 -1
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 two | 799 | // 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 one | 800 | // 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 | } |