int command_ver(char *text, int len) { char str[250]; print_version_string(str, sizeof(str)); LOG_TO_CONSOLE(c_green1, str); return 1; }
int main(int argc, char **argv) { th_enc_ctx *ctx; /* print versioning */ print_version_string(); print_version(); /* allocate a generic context for queries that require it */ ctx = dummy_encode_ctx(); if (ctx != NULL) { /* dump the speed level setting */ print_speed_level(ctx); /* clean up */ th_encode_free(ctx); } return 0; }