Make sure to set matrix field in sample_format to NULL