From ef6a5c98fb5222ce3f8c7a1cca1dabeca83f8af6 Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 5 Sep 2024 12:34:36 -0300 Subject: [PATCH] avfilter/af_apulsator: remove unecessary initializer from layouts Fixes compilation with msvc. Signed-off-by: James Almer --- libavfilter/af_apulsator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_apulsator.c b/libavfilter/af_apulsator.c index 8e01cd6feb..4272e5f3a0 100644 --- a/libavfilter/af_apulsator.c +++ b/libavfilter/af_apulsator.c @@ -194,8 +194,8 @@ static int query_formats(const AVFilterContext *ctx, AV_SAMPLE_FMT_NONE, }; static const AVChannelLayout layouts[] = { - (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO, - (AVChannelLayout){ .nb_channels = 0 }, + AV_CHANNEL_LAYOUT_STEREO, + { .nb_channels = 0 }, }; int ret;