IP reverse engineering for compatibility is explicitly allowed in many jurisdictions. We wouldn't need to reverse engineer the format if it were patented, that's the whole point of patents: Dolby would have to disclose the details. IIRC they simply don't publish any info and rely on obscurity...