mirror of
https://github.com/alfg/mp4-rust.git
synced 2025-04-15 08:14:15 +00:00
refactor: remove redundant gps_box() and into_inner() methods from Mp4Reader trait
This commit is contained in:
parent
09fdedc2d6
commit
c0043dcb47
1 changed files with 0 additions and 12 deletions
|
@ -173,18 +173,6 @@ impl<R: Read + Seek> Mp4Reader<R> {
|
|||
Err(Error::TrakNotFound(track_id))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn into_inner(self) -> R {
|
||||
self.reader
|
||||
}
|
||||
|
||||
pub fn gps_box(&mut self) -> Option<GpsBox> {
|
||||
if self.moov.gps.is_some() {
|
||||
self.moov.gps.clone()
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<R> Mp4Reader<R> {
|
||||
|
|
Loading…
Reference in a new issue