1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-06-11 01:19:21 +00:00

fix is_fragmented method.

This commit is contained in:
Alf 2020-09-06 13:00:34 -07:00
parent d0e169b679
commit 9822589734

View file

@ -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] {