mirror of
https://github.com/alfg/mp4-rust.git
synced 2025-01-03 08:58:40 +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 {
|
pub fn is_fragmented(&self) -> bool {
|
||||||
if self.moofs.len() != 0 {
|
self.moofs.len() != 0
|
||||||
true
|
|
||||||
} else {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn tracks(&self) -> &[Mp4Track] {
|
pub fn tracks(&self) -> &[Mp4Track] {
|
||||||
|
|
Loading…
Reference in a new issue