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