amr: initialize arrays
amr: remove unused variable ttt
amr: fix if condition
amr: handle all enum values in switch statement
amr: really fix if statement
amr: remove unused arrays
amr: fix Makefile
amr: fix extra warnings
Revert "amr: fix Makefile"

This reverts commit 6ebe3a5bcb430e5014db4465b5f8b8488727926e.
amr: really fix Makefile