util: fix formatting

This commit is contained in:
Ivan Molodetskikh 2017-06-20 20:33:46 +03:00 committed by meh
parent 0f48e9472b
commit 62739b803d
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,8 @@ impl Pixel {
if ptr.is_null() {
None
} else {
}
else {
Some(Descriptor { ptr })
}
}

View File

@ -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