util: fix formatting
This commit is contained in:
parent
0f48e9472b
commit
62739b803d
@ -303,7 +303,8 @@ impl Pixel {
|
||||
|
||||
if ptr.is_null() {
|
||||
None
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
Some(Descriptor { ptr })
|
||||
}
|
||||
}
|
||||
|
@ -258,7 +258,6 @@ impl Video {
|
||||
|
||||
match self.format().descriptor() {
|
||||
None => self.height(),
|
||||
|
||||
Some(desc) => {
|
||||
let s = desc.log2_chroma_h();
|
||||
(self.height() + (1 << s) - 1) >> s
|
||||
|
Loading…
x
Reference in New Issue
Block a user