Fixes compilation with msvc.
Unified · Split
| @@ -131,8 +131,8 @@ static int query_formats(const AVFilterContext *ctx, · 130 unmodified lines | |||
| 131 | AV_SAMPLE_FMT_NONE, | 131 | AV_SAMPLE_FMT_NONE, |
| 132 | }; | 132 | }; |
| 133 | static const AVChannelLayout layouts[] = { | 133 | static const AVChannelLayout layouts[] = { |
| 134 | (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO, | 134 | AV_CHANNEL_LAYOUT_MONO, |
| 135 | (AVChannelLayout){ .nb_channels = 0 }, | 135 | { .nb_channels = 0 }, |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const ASRContext *s = ctx->priv; | 138 | const ASRContext *s = ctx->priv; |