Skip to content

Commit

Permalink
src/scan.rs: Tidy static tables (#354)
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
kkysen authored Aug 3, 2023
2 parents ba87f2c + 6adea87 commit 7d054db
Showing 1 changed file with 207 additions and 3,384 deletions.
Loading

0 comments on commit 7d054db

Please sign in to comment.