static inline void log_input_change(void *ctx, AVFilterLink *link, AVFilterBufferRef *ref)

{

    char old_layout_str[16], new_layout_str[16];

    av_get_channel_layout_string(old_layout_str, sizeof(old_layout_str),

                                 -1, link->channel_layout);

    av_get_channel_layout_string(new_layout_str, sizeof(new_layout_str),

                                 -1, ref->audio->channel_layout);

    av_log(ctx, AV_LOG_INFO,

           "Audio input format changed: "

           "%s:%s:%"PRId64" -> %s:%s:%u, normalizing\n",

           av_get_sample_fmt_name(link->format),

           old_layout_str, link->sample_rate,

           av_get_sample_fmt_name(ref->format),

           new_layout_str, ref->audio->sample_rate);

}

static inline void log_input_change(void *ctx, AVFilterLink *link, AVFilterBufferRef *ref)

{

    char old_layout_str[16], new_layout_str[16];

    av_get_channel_layout_string(old_layout_str, sizeof(old_layout_str),

                                 -1, link->channel_layout);

    av_get_channel_layout_string(new_layout_str, sizeof(new_layout_str),

                                 -1, ref->audio->channel_layout);

    av_log(ctx, AV_LOG_INFO,

           "Audio input format changed: "

           "%s:%s:%"PRId64" -> %s:%s:%u, normalizing\n",

           av_get_sample_fmt_name(link->format),

           old_layout_str, link->sample_rate,

           av_get_sample_fmt_name(ref->format),

           new_layout_str, ref->audio->sample_rate);

}

static inline void FUNC_0(void *VAR_0, AVFilterLink *VAR_1, AVFilterBufferRef *VAR_2)

{

    char VAR_3[16], VAR_4[16];

    av_get_channel_layout_string(VAR_3, sizeof(VAR_3),

                                 -1, VAR_1->channel_layout);

    av_get_channel_layout_string(VAR_4, sizeof(VAR_4),

                                 -1, VAR_2->audio->channel_layout);

    av_log(VAR_0, AV_LOG_INFO,

           "Audio input format changed: "

           "%s:%s:%"PRId64" -> %s:%s:%u, normalizing\n",

           av_get_sample_fmt_name(VAR_1->format),

           VAR_3, VAR_1->sample_rate,

           av_get_sample_fmt_name(VAR_2->format),

           VAR_4, VAR_2->audio->sample_rate);

}

static inline void FUNC_0(void *VAR_0, AVFilterLink *VAR_1, AVFilterBufferRef *VAR_2)
{ char VAR_3[16], VAR_4[16]; av_get_channel_layout_string(VAR_3, sizeof(VAR_3),
-1, VAR_1->channel_layout); av_get_channel_layout_string(VAR_4, sizeof(VAR_4),
-1, VAR_2->audio->channel_layout); av_log(VAR_0, AV_LOG_INFO,
"Audio input format changed: "
"%s:%s:%"PRId64" -> %s:%s:%u, normalizing\n",
av_get_sample_fmt_name(VAR_1->format),
VAR_3, VAR_1->sample_rate,
av_get_sample_fmt_name(VAR_2->format),
VAR_4, VAR_2->audio->sample_rate); }