diff --git a/libavfilter/af_asr.c b/libavfilter/af_asr.c index 26963222fd..8e8eeb19a7 100644 --- a/libavfilter/af_asr.c +++ b/libavfilter/af_asr.c @@ -131,8 +131,8 @@ static int query_formats(const AVFilterContext *ctx, AV_SAMPLE_FMT_NONE, }; static const AVChannelLayout layouts[] = { - (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO, - (AVChannelLayout){ .nb_channels = 0 }, + AV_CHANNEL_LAYOUT_MONO, + { .nb_channels = 0 }, }; const ASRContext *s = ctx->priv;