smoothstream: check malloc calls

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Merge commit 'e0d01dc7d7fc3ce4c23f286a10870e9599c8b8b9'

* commit 'e0d01dc7d7fc3ce4c23f286a10870e9599c8b8b9':
  smoothstream: check malloc calls

Merged-by: Michael Niedermayer <michaelni@gmx.at>
configure: try to fix the disappearing "r" bug in fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>