[utils]: add show_options to utils

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@316 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-09-28 22:31:52 +00:00
parent c6d93bd1b9
commit bed52a856e
6 changed files with 37 additions and 41 deletions

View File

@@ -20,5 +20,14 @@
#include <string.h>
#include "mpp_log.h"
#include "utils.h"
void _show_options(int count, OptionInfo *options)
{
int i;
for (i = 0; i < count; i++) {
mpp_log("-%s %s\t\t%s\n",
options[i].name, options[i].argname, options[i].help);
}
}