projects
/
nihav-tool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix clippy warnings
[nihav-tool.git]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index fcf6a56f8408d0a233fdd881f6db196d892ae7fd..78c9fb09ec0bfe3057d6d2e7b8a2ba3398abab9f 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-308,7
+308,7
@@
println!("stream {} - {} {}", i, s, info.get_name());
}
},
};
- if pkt.get_pts()
!= None
&& lastpts != NATimePoint::None && !pkt.ts.less_than(lastpts) { break; }
+ if pkt.get_pts()
.is_some()
&& lastpts != NATimePoint::None && !pkt.ts.less_than(lastpts) { break; }
}
}
//panic!("end");