Skip to content

Commit

Permalink
fix clippy (rustc 1.71.0) (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolleifx authored Jul 29, 2023
1 parent 55875d7 commit aff3bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp4box/stsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl<R: Read + Seek> ReadBox<&mut R> for StscBox {
let mut sample_id = 1;
for i in 0..entry_count {
let (first_chunk, samples_per_chunk) = {
let mut entry = entries.get_mut(i as usize).unwrap();
let entry = entries.get_mut(i as usize).unwrap();
entry.first_sample = sample_id;
(entry.first_chunk, entry.samples_per_chunk)
};
Expand Down

0 comments on commit aff3bf6

Please sign in to comment.