avfilter/af_bs2b: remove unecessary initializer from layouts

Fixes compilation with msvc.

Signed-off-by: James Almer <jamrial@gmail.com>
release/7.1
James Almer 4 months ago
parent d98de855a8
commit a49188297f
  1. 4
      libavfilter/af_bs2b.c

@ -95,8 +95,8 @@ static int query_formats(const AVFilterContext *ctx,
AVFilterFormatsConfig **cfg_out) AVFilterFormatsConfig **cfg_out)
{ {
static const AVChannelLayout layouts[] = { static const AVChannelLayout layouts[] = {
(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO, AV_CHANNEL_LAYOUT_STEREO,
(AVChannelLayout){ .nb_channels = 0 }, { .nb_channels = 0 },
}; };
static const enum AVSampleFormat sample_fmts[] = { static const enum AVSampleFormat sample_fmts[] = {

Loading…
Cancel
Save