Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Feb 10, 2024
1 parent b71c822 commit c9a5ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtp/src/codecs/av1/packetizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl PacketMetadata {
/// Returns the scheme for how to aggregate or split the OBUs across RTP packets.
/// Reference: https://aomediacodec.github.io/av1-rtp-spec/#45-payload-structure
/// https://aomediacodec.github.io/av1-rtp-spec/#5-packetization-rules
pub fn packetize(obus: &Vec<Obu>, mtu: usize) -> Vec<PacketMetadata> {
pub fn packetize(obus: &[Obu], mtu: usize) -> Vec<PacketMetadata> {
if obus.is_empty() {
return vec![];
}
Expand Down

0 comments on commit c9a5ab0

Please sign in to comment.