[aml] sync to aml git amadec/amcodec (Dec 11 18:16:44 2012)