We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb13931 commit c0e30bcCopy full SHA for c0e30bc
rtcp/src/transport_feedbacks/transport_layer_cc/mod.rs
@@ -331,7 +331,7 @@ impl MarshalSize for RecvDelta {
331
// big delta
332
if self.type_tcc_packet == SymbolTypeTcc::PacketReceivedLargeDelta
333
&& delta >= i16::MIN as i64
334
- && delta <= u16::MAX as i64
+ && delta <= i16::MAX as i64
335
{
336
return 2;
337
}
@@ -358,10 +358,10 @@ impl Marshal for RecvDelta {
358
359
360
361
362
&& buf.remaining_mut() >= 2
363
364
- buf.put_u16(delta as u16);
+ buf.put_i16(delta as i16);
365
return Ok(2);
366
367
0 commit comments