diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-12-13 12:43:16 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-12-13 12:43:16 +0300 |
commit | 3f904553ea1336fc73333ec680493c41250a03fe (patch) | |
tree | ea270ea2f9b5484fc729a4a174ea2a0261e89f9a /net/raptorq | |
parent | 289e8a08c31610fbf62056f8a156eb647e9c3a2a (diff) |
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1011>
Diffstat (limited to 'net/raptorq')
-rw-r--r-- | net/raptorq/src/raptorqenc/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/raptorq/src/raptorqenc/imp.rs b/net/raptorq/src/raptorqenc/imp.rs index 85faad78..b453c396 100644 --- a/net/raptorq/src/raptorqenc/imp.rs +++ b/net/raptorq/src/raptorqenc/imp.rs @@ -421,7 +421,7 @@ impl RaptorqEnc { assert_eq!(state.packets.len(), state.seqnums.len()); - if state.packets.len() == state.protected_packets_num as usize { + if state.packets.len() == state.protected_packets_num { // We use current buffer timing as a base for repair packets timestamps let now_pts = buffer.pts(); let now_dts = buffer.dts_or_pts(); |