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[] = {