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:
parent
5c4f276b67
commit
5207ad1b6c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue