[PATCH 5/5] amstream: Return error when calling SetFormat with allocated samples.