inline static int push_frame(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    AVFilterLink *inlink = ctx->inputs[0];

    ShowWavesContext *showwaves = outlink->src->priv;

    int nb_channels = inlink->channels;

    int ret, i;



    if ((ret = ff_filter_frame(outlink, showwaves->outpicref)) >= 0)

        showwaves->req_fullfilled = 1;

    showwaves->outpicref = NULL;

    showwaves->buf_idx = 0;

    for (i = 0; i <= nb_channels; i++)

        showwaves->buf_idy[i] = 0;

    return ret;

}

inline static int push_frame(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    AVFilterLink *inlink = ctx->inputs[0];

    ShowWavesContext *showwaves = outlink->src->priv;

    int nb_channels = inlink->channels;

    int ret, i;



    if ((ret = ff_filter_frame(outlink, showwaves->outpicref)) >= 0)

        showwaves->req_fullfilled = 1;

    showwaves->outpicref = NULL;

    showwaves->buf_idx = 0;

    for (i = 0; i <= nb_channels; i++)

        showwaves->buf_idy[i] = 0;

    return ret;

}

    for (i = 0; i <= nb_channels; i++)
inline static int FUNC_0(AVFilterLink *VAR_0)

{

    AVFilterContext *ctx = VAR_0->src;

    AVFilterLink *inlink = ctx->inputs[0];

    ShowWavesContext *showwaves = VAR_0->src->priv;

    int VAR_1 = inlink->channels;

    int VAR_2, VAR_3;



    if ((VAR_2 = ff_filter_frame(VAR_0, showwaves->outpicref)) >= 0)

        showwaves->req_fullfilled = 1;

    showwaves->outpicref = NULL;

    showwaves->buf_idx = 0;

    for (VAR_3 = 0; VAR_3 <= VAR_1; VAR_3++)

        showwaves->buf_idy[VAR_3] = 0;

    return VAR_2;

}

inline static int FUNC_0(AVFilterLink *VAR_0)
{ AVFilterContext *ctx = VAR_0->src; AVFilterLink *inlink = ctx->inputs[0]; ShowWavesContext *showwaves = VAR_0->src->priv; int VAR_1 = inlink->channels; int VAR_2, VAR_3; if ((VAR_2 = ff_filter_frame(VAR_0, showwaves->outpicref)) >= 0)
showwaves->req_fullfilled = 1; showwaves->outpicref = NULL; showwaves->buf_idx = 0; for (VAR_3 = 0; VAR_3 <= VAR_1; VAR_3++) showwaves->buf_idy[VAR_3] = 0; return VAR_2; }