Skip to content

Commit

Permalink
src/scan.rs: Tidy static tables
Browse files Browse the repository at this point in the history
Remove no-op cast `as libc::c_int as uint16_t` from cell values and
run `cargo fmt`.
Remove `mut` from static tables which are never modified.
Use Rust `u16` type, equivalent to `uint16_t`.
Remove unnecessary `unsafe` block from `dav1d_scans`.
  • Loading branch information
barrbrain committed Aug 3, 2023
1 parent 21fc426 commit 6adea87
Showing 1 changed file with 207 additions and 3,384 deletions.
Loading

0 comments on commit 6adea87

Please sign in to comment.