func: int split_commandline(OptionParseContext *octx,int argc,char *argv[],const OptionDef *options,const OptionGroupDef *groups,int nb_groups) init_parse_context ( octx , groups , nb_groups ); static void init_parse_context(OptionParseContext *octx,const OptionGroupDef *groups,int nb_groups) memset ( octx , 0 , sizeof ( ( * octx ) ) ); octx -> nb_groups = nb_groups; octx -> groups = ( av_mallocz ( sizeof ( ( * octx -> groups ) ) * ( octx -> nb_groups ) ) ); if ( ! octx -> groups )  for (i = 0; i < octx -> nb_groups; i++) octx -> groups [ i ] . group_def = & groups [ i ]; octx -> global_opts . group_def = & global_group; octx -> global_opts . arg = ""; 