Reformat code with latest cargo fmt
This commit is contained in:
@ -128,7 +128,8 @@ impl Context {
|
||||
}
|
||||
|
||||
pub fn run(&mut self, input: &frame::Video, output: &mut frame::Video) -> Result<(), Error> {
|
||||
if input.format() != self.input.format || input.width() != self.input.width
|
||||
if input.format() != self.input.format
|
||||
|| input.width() != self.input.width
|
||||
|| input.height() != self.input.height
|
||||
{
|
||||
return Err(Error::InputChanged);
|
||||
@ -140,7 +141,8 @@ impl Context {
|
||||
}
|
||||
}
|
||||
|
||||
if output.format() != self.output.format || output.width() != self.output.width
|
||||
if output.format() != self.output.format
|
||||
|| output.width() != self.output.width
|
||||
|| output.height() != self.output.height
|
||||
{
|
||||
return Err(Error::OutputChanged);
|
||||
|
Reference in New Issue
Block a user