mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-29 03:32:28 +08:00
[utils]: Remove extra NULL option print
Change-Id: I48871d7af4fae0fdf3e6e405793e53a5e4768801 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -28,6 +28,9 @@ void _show_options(int count, OptionInfo *options)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
|
if (NULL == options[i].name)
|
||||||
|
continue;
|
||||||
|
|
||||||
mpp_log("-%s %-16s\t%s\n",
|
mpp_log("-%s %-16s\t%s\n",
|
||||||
options[i].name, options[i].argname, options[i].help);
|
options[i].name, options[i].argname, options[i].help);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user