add some approved parts of the E-AC-3 decoder