Use shared AC-3 header parsing. Move some initializations to block parsing function.