add amf0 decode framework.