From a49188297f1763c4f6188ca8ca7c1a8da6771896 Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 5 Sep 2024 12:35:04 -0300 Subject: [PATCH] avfilter/af_bs2b: remove unecessary initializer from layouts Fixes compilation with msvc. Signed-off-by: James Almer --- libavfilter/af_bs2b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c index de2c30fede..006c8564fc 100644 --- a/libavfilter/af_bs2b.c +++ b/libavfilter/af_bs2b.c @@ -95,8 +95,8 @@ static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_out) { static const AVChannelLayout layouts[] = { - (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO, - (AVChannelLayout){ .nb_channels = 0 }, + AV_CHANNEL_LAYOUT_STEREO, + { .nb_channels = 0 }, }; static const enum AVSampleFormat sample_fmts[] = {