avfilter/af_asr: remove unecessary initializer from layouts

Fixes compilation with msvc.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-09-05 12:35:28 -03:00
parent ef6a5c98fb
commit d98de855a8

View File

@ -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;