mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-06-02 13:39:54 +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) {
|
if let Some(track) = self.tracks.get(&track_id) {
|
||||||
track.sample_offset(sample_id)
|
track.sample_offset(sample_id)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue