aaccoder: prevent crash of anmr coder