From d98de855a8defc44585e411ea5d407637ce96c2c Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 5 Sep 2024 12:35:28 -0300 Subject: [PATCH] avfilter/af_asr: remove unecessary initializer from layouts Fixes compilation with msvc. Signed-off-by: James Almer --- libavfilter/af_asr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;