static void append_inout(AVFilterInOut **inouts, AVFilterInOut **element)
{
    while (*inouts && (*inouts)->next)
        inouts = &((*inouts)->next);
    if (!*inouts)
        *inouts = *element;
    else
        (*inouts)->next = *element;
    *element = NULL;
}
['static void append_inout(AVFilterInOut **inouts, AVFilterInOut **element)\n{\n    while (*inouts && (*inouts)->next)\n        inouts = &((*inouts)->next);\n    if (!*inouts)\n        *inouts = *element;\n    else\n        (*inouts)->next = *element;\n    *element = NULL;\n}']