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

Function match_group_separator

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

* Check whether given option is a group separator. * * @return index of the group definition that matched or -1 if none */

Source from the content-addressed store, hash-verified

640 * @return index of the group definition that matched or -1 if none
641 */
642static int match_group_separator(const OptionGroupDef *groups, int nb_groups,
643 const char *opt)
644{
645 int i;
646
647 for (i = 0; i < nb_groups; i++) {
648 const OptionGroupDef *p = &groups[i];
649 if (p->sep && !strcmp(p->sep, opt))
650 return i;
651 }
652
653 return -1;
654}
655
656/*
657 * Finish parsing an option group.

Callers 1

split_commandlineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected