summaryrefslogtreecommitdiff
path: root/tools/intel_infoframes.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2014-02-12 16:29:54 +0200
committerJani Nikula <jani.nikula@intel.com>2014-12-09 15:49:10 +0200
commitc252c77dbfae6c7ed4d9a67b2bf545c468c2e205 (patch)
treed2bc4f69cdf2b4b76ee526f3bf8d0bca57c6d2b8 /tools/intel_infoframes.c
parentf333981e1a2f5e7a16d030469c29b53c914a831c (diff)
tools: terminate getopt_long long option arrays properly
The last element of the long options array has to be filled with zeros. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/intel_infoframes.c')
-rw-r--r--tools/intel_infoframes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/intel_infoframes.c b/tools/intel_infoframes.c
index e838fddf..e03cb2c0 100644
--- a/tools/intel_infoframes.c
+++ b/tools/intel_infoframes.c
@@ -1101,6 +1101,7 @@ int main(int argc, char *argv[])
{ "transcoder" , required_argument, NULL, 't' },
{ "infoframe", required_argument, NULL, 'f' },
{ "help", no_argument, NULL, 'h' },
+ { 0 }
};
printf("WARNING: This is just a debugging tool! Don't expect it to work"