Skip to content

Commit

Permalink
chore: Resolve a nightly clippy::precedence lint
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 committed Jan 16, 2025
1 parent 39267b5 commit da22f24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions h263/src/parser/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,13 @@ where
0b10 => return Ok(HalfPel::from_unit(-(mantissa + bulk))),
0b01 => {
mantissa <<= 1;
bulk <<= 1;
}
0b11 => {
mantissa = mantissa << 1 | 1;
bulk <<= 1;
mantissa = (mantissa << 1) | 1;
}
_ => return Err(Error::InternalDecoderError),
}
bulk <<= 1;
}

Err(Error::InvalidMvd)
Expand Down

0 comments on commit da22f24

Please sign in to comment.