[PATCH v2 6/8] amstream: Only accept format passed in SetFormat.