Add code for checking compatibility between codec and file format.

No match.