MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / show_help_options

Function show_help_options

ffmpeg-single-cmd/src/main/cpp/cmdutils.c:177–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void show_help_options(const OptionDef *options, const char *msg, int req_flags,
178 int rej_flags, int alt_flags)
179{
180 const OptionDef *po;
181 int first;
182
183 first = 1;
184 for (po = options; po->name; po++) {
185 char buf[64];
186
187 if (((po->flags & req_flags) != req_flags) ||
188 (alt_flags && !(po->flags & alt_flags)) ||
189 (po->flags & rej_flags))
190 continue;
191
192 if (first) {
193 printf("%s\n", msg);
194 first = 0;
195 }
196 av_strlcpy(buf, po->name, sizeof(buf));
197 if (po->argname) {
198 av_strlcat(buf, " ", sizeof(buf));
199 av_strlcat(buf, po->argname, sizeof(buf));
200 }
201 printf("-%-17s %s\n", buf, po->help);
202 }
203 printf("\n");
204}
205
206void show_help_children(const AVClass *class, int flags)
207{

Callers 1

show_help_defaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected