void av_opt_freep_ranges(AVOptionRanges **rangesp)

{

    int i;

    AVOptionRanges *ranges = *rangesp;



    if (!ranges)

        return;



    for (i = 0; i < ranges->nb_ranges * ranges->nb_components; i++) {

        AVOptionRange *range = ranges->range[i];

        av_freep(&range->str);

        av_freep(&ranges->range[i]);

    }

    av_freep(&ranges->range);

    av_freep(rangesp);

}

void av_opt_freep_ranges(AVOptionRanges **rangesp)

{

    int i;

    AVOptionRanges *ranges = *rangesp;



    if (!ranges)

        return;



    for (i = 0; i < ranges->nb_ranges * ranges->nb_components; i++) {

        AVOptionRange *range = ranges->range[i];

        av_freep(&range->str);

        av_freep(&ranges->range[i]);

    }

    av_freep(&ranges->range);

    av_freep(rangesp);

}

        av_freep(&range->str);         av_freep(&ranges->range[i]);
void FUNC_0(AVOptionRanges **VAR_0)

{

    int VAR_1;

    AVOptionRanges *ranges = *VAR_0;



    if (!ranges)

        return;



    for (VAR_1 = 0; VAR_1 < ranges->nb_ranges * ranges->nb_components; VAR_1++) {

        AVOptionRange *range = ranges->range[VAR_1];

        av_freep(&range->str);

        av_freep(&ranges->range[VAR_1]);

    }

    av_freep(&ranges->range);

    av_freep(VAR_0);

}

void FUNC_0(AVOptionRanges **VAR_0)
{ int VAR_1; AVOptionRanges *ranges = *VAR_0; if (!ranges)
return; for (VAR_1 = 0; VAR_1 < ranges->nb_ranges * ranges->nb_components; VAR_1++) { AVOptionRange *range = ranges->range[VAR_1]; av_freep(&range->str); av_freep(&ranges->range[VAR_1]); } av_freep(&ranges->range); av_freep(VAR_0); }