static void ff_dlog_link(void *ctx, AVFilterLink *link, int end)

{

    if (link->type == AVMEDIA_TYPE_VIDEO) {

        av_dlog(ctx,

                "link[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s",

                link, link->w, link->h,

                av_pix_fmt_descriptors[link->format].name,

                link->src ? link->src->filter->name : "",

                link->dst ? link->dst->filter->name : "",

                end ? "\n" : "");

    } else {

        char buf[128];

        av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout);



        av_dlog(ctx,

                "link[%p r:%"PRId64" cl:%s fmt:%-16s %-16s->%-16s]%s",

                link, link->sample_rate, buf,

                av_get_sample_fmt_name(link->format),

                link->src ? link->src->filter->name : "",

                link->dst ? link->dst->filter->name : "",

                end ? "\n" : "");

    }

}

static void ff_dlog_link(void *ctx, AVFilterLink *link, int end)

{

    if (link->type == AVMEDIA_TYPE_VIDEO) {

        av_dlog(ctx,

                "link[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s",

                link, link->w, link->h,

                av_pix_fmt_descriptors[link->format].name,

                link->src ? link->src->filter->name : "",

                link->dst ? link->dst->filter->name : "",

                end ? "\n" : "");

    } else {

        char buf[128];

        av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout);



        av_dlog(ctx,

                "link[%p r:%"PRId64" cl:%s fmt:%-16s %-16s->%-16s]%s",

                link, link->sample_rate, buf,

                av_get_sample_fmt_name(link->format),

                link->src ? link->src->filter->name : "",

                link->dst ? link->dst->filter->name : "",

                end ? "\n" : "");

    }

}

static void FUNC_0(void *VAR_0, AVFilterLink *VAR_1, int VAR_2)

{

    if (VAR_1->type == AVMEDIA_TYPE_VIDEO) {

        av_dlog(VAR_0,

                "VAR_1[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s",

                VAR_1, VAR_1->w, VAR_1->h,

                av_pix_fmt_descriptors[VAR_1->format].name,

                VAR_1->src ? VAR_1->src->filter->name : "",

                VAR_1->dst ? VAR_1->dst->filter->name : "",

                VAR_2 ? "\n" : "");

    } else {

        char VAR_3[128];

        av_get_channel_layout_string(VAR_3, sizeof(VAR_3), -1, VAR_1->channel_layout);



        av_dlog(VAR_0,

                "VAR_1[%p r:%"PRId64" cl:%s fmt:%-16s %-16s->%-16s]%s",

                VAR_1, VAR_1->sample_rate, VAR_3,

                av_get_sample_fmt_name(VAR_1->format),

                VAR_1->src ? VAR_1->src->filter->name : "",

                VAR_1->dst ? VAR_1->dst->filter->name : "",

                VAR_2 ? "\n" : "");

    }

}

static void FUNC_0(void *VAR_0, AVFilterLink *VAR_1, int VAR_2)
{ if (VAR_1->type == AVMEDIA_TYPE_VIDEO) { av_dlog(VAR_0,
"VAR_1[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s",
VAR_1, VAR_1->w, VAR_1->h,
av_pix_fmt_descriptors[VAR_1->format].name,
VAR_1->src ? VAR_1->src->filter->name : "",
VAR_1->dst ? VAR_1->dst->filter->name : "",
VAR_2 ? "\n" : ""); } else { char VAR_3[128]; av_get_channel_layout_string(VAR_3, sizeof(VAR_3), -1, VAR_1->channel_layout); av_dlog(VAR_0,
"VAR_1[%p r:%"PRId64" cl:%s fmt:%-16s %-16s->%-16s]%s",
VAR_1, VAR_1->sample_rate, VAR_3,
av_get_sample_fmt_name(VAR_1->format),
VAR_1->src ? VAR_1->src->filter->name : "",
VAR_1->dst ? VAR_1->dst->filter->name : "",
VAR_2 ? "\n" : ""); } }