int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)

{

    graph->filters = av_realloc(graph->filters,

                                sizeof(AVFilterContext*) * ++graph->filter_count);



    if (!graph->filters)

        return AVERROR(ENOMEM);



    graph->filters[graph->filter_count - 1] = filter;



    return 0;

}

int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)

{

    graph->filters = av_realloc(graph->filters,

                                sizeof(AVFilterContext*) * ++graph->filter_count);



    if (!graph->filters)

        return AVERROR(ENOMEM);



    graph->filters[graph->filter_count - 1] = filter;



    return 0;

}

    graph->filters = av_realloc(graph->filters,                                 sizeof(AVFilterContext*) * ++graph->filter_count);     if (!graph->filters)     graph->filters[graph->filter_count - 1] = filter;
int FUNC_0(AVFilterGraph *VAR_0, AVFilterContext *VAR_1)

{

    VAR_0->filters = av_realloc(VAR_0->filters,

                                sizeof(AVFilterContext*) * ++VAR_0->filter_count);



    if (!VAR_0->filters)

        return AVERROR(ENOMEM);



    VAR_0->filters[VAR_0->filter_count - 1] = VAR_1;



    return 0;

}

int FUNC_0(AVFilterGraph *VAR_0, AVFilterContext *VAR_1)
{ VAR_0->filters = av_realloc(VAR_0->filters,
sizeof(AVFilterContext*) * ++VAR_0->filter_count); if (!VAR_0->filters)
return AVERROR(ENOMEM); VAR_0->filters[VAR_0->filter_count - 1] = VAR_1; return 0; }