pub fn get_nb_frames(input: &[u8]) -> Result<usize, ErrorCode>
Gets the number of frames in an Opus packet.