static void init_parse_context(OptionParseContext *octx,

                               const OptionGroupDef *groups)

{

    static const OptionGroupDef global_group = { "global" };

    const OptionGroupDef *g = groups;

    int i;



    memset(octx, 0, sizeof(*octx));



    while (g->name)

        g++;

    octx->nb_groups = g - groups;

    octx->groups    = av_mallocz(sizeof(*octx->groups) * octx->nb_groups);

    if (!octx->groups)

        exit(1);



    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       = "";



    init_opts();

}

static void init_parse_context(OptionParseContext *octx,

                               const OptionGroupDef *groups)

{

    static const OptionGroupDef global_group = { "global" };

    const OptionGroupDef *g = groups;

    int i;



    memset(octx, 0, sizeof(*octx));



    while (g->name)

        g++;

    octx->nb_groups = g - groups;

    octx->groups    = av_mallocz(sizeof(*octx->groups) * octx->nb_groups);

    if (!octx->groups)

        exit(1);



    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       = "";



    init_opts();

}

static void FUNC_0(OptionParseContext *VAR_0,

                               const OptionGroupDef *VAR_1)

{

    static const OptionGroupDef VAR_2 = { "global" };

    const OptionGroupDef *VAR_3 = VAR_1;

    int VAR_4;



    memset(VAR_0, 0, sizeof(*VAR_0));



    while (VAR_3->name)

        VAR_3++;

    VAR_0->nb_groups = VAR_3 - VAR_1;

    VAR_0->VAR_1    = av_mallocz(sizeof(*VAR_0->VAR_1) * VAR_0->nb_groups);

    if (!VAR_0->VAR_1)

        exit(1);



    for (VAR_4 = 0; VAR_4 < VAR_0->nb_groups; VAR_4++)

        VAR_0->VAR_1[VAR_4].group_def = &VAR_1[VAR_4];



    VAR_0->global_opts.group_def = &VAR_2;

    VAR_0->global_opts.arg       = "";



    init_opts();

}

static void FUNC_0(OptionParseContext *VAR_0,
const OptionGroupDef *VAR_1)
{ static const OptionGroupDef VAR_2 = { "global" }; const OptionGroupDef *VAR_3 = VAR_1; int VAR_4; memset(VAR_0, 0, sizeof(*VAR_0)); while (VAR_3->name)
VAR_3++; VAR_0->nb_groups = VAR_3 - VAR_1; VAR_0->VAR_1    = av_mallocz(sizeof(*VAR_0->VAR_1) * VAR_0->nb_groups); if (!VAR_0->VAR_1)
exit(1); for (VAR_4 = 0; VAR_4 < VAR_0->nb_groups; VAR_4++) VAR_0->VAR_1[VAR_4].group_def = &VAR_1[VAR_4]; VAR_0->global_opts.group_def = &VAR_2; VAR_0->global_opts.arg       = ""; init_opts(); }