1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-05-19 08:48:04 +00:00

Fix lint warning.

This commit is contained in:
Alfred Gutierrez 2023-08-02 21:09:08 -07:00 committed by GitHub
parent 5c4f276b67
commit 5207ad1b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,7 +263,7 @@ impl<R: Read + Seek> Mp4Reader<R> {
}
}
pub fn sample_offset(&mut self, track_id: u32, sample_id : u32) -> Result<u64> {
pub fn sample_offset(&mut self, track_id: u32, sample_id: u32) -> Result<u64> {
if let Some(track) = self.tracks.get(&track_id) {
track.sample_offset(sample_id)
} else {