fix bugs
fix OPUS crash
fix -O3 crash
Merge pull request #3 from pfactum/amr

Amr