mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-12-22 03:56:28 +00:00
fix is_fragmented method.
This commit is contained in:
parent
d0e169b679
commit
9822589734
1 changed files with 1 additions and 5 deletions
|
@ -109,11 +109,7 @@ impl<R: Read + Seek> Mp4Reader<R> {
|
|||
}
|
||||
|
||||
pub fn is_fragmented(&self) -> bool {
|
||||
if self.moofs.len() != 0 {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
self.moofs.len() != 0
|
||||
}
|
||||
|
||||
pub fn tracks(&self) -> &[Mp4Track] {
|
||||
|
|
Loading…
Reference in a new issue