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