diff --git a/src/rtcp.rs b/src/rtcp.rs index ab9ab82..f13339d 100644 --- a/src/rtcp.rs +++ b/src/rtcp.rs @@ -333,7 +333,7 @@ impl<'a> PacketRef<'a> { /// Returns the full raw data, including headers. #[inline] pub fn raw(&self) -> &[u8] { - &self.buf + self.buf } }