1
0
Fork 0
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:
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 {
if self.moofs.len() != 0 {
true
} else {
false
}
self.moofs.len() != 0
}
pub fn tracks(&self) -> &[Mp4Track] {