[aml] sync to aml git amadec/amcodec 0701