SoftAMR: check output buffer size to avoid overflow. am: a3536c6 am: 1d8b35d am: 7837c49 am: 9e5c82b
am: 84c5e67

* commit '84c5e675e0928d65b64a4480ee4d963e507b312d':
  SoftAMR: check output buffer size to avoid overflow.