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