Skip to content
  • pali's avatar
    bluetooth: Fix usage of RTP structures in SBC codec · 9e70d052
    pali authored and Tanu Kaskinen's avatar Tanu Kaskinen committed
    Rename struct rtp_payload to rtp_sbc_payload as it is specific for SBC
    codec payload.
    
    Add proper checks for endianity in rtp.h header and use uint8_t type
    where appropriated.
    
    Field frame_count is only 4 bit number, so add checks to prevent overflow.
    
    And because is_fragmented field is not parsed by decoder there is no
    support for decoding fragmented SBC frames. So throw an error in this case.
    9e70d052