History

avfilter/af_asr: remove unecessary initializer from layouts

Fixes compilation with msvc.

James Almer committed 2 years ago

Commit d98de851 parent ef6a5c91 file · +2 −2Browse files

Unified · Split

libavfilter/af_asr.c+2−2
@@ -131,8 +131,8 @@ static int query_formats(const AVFilterContext *ctx, · 130 unmodified lines
131131 AV_SAMPLE_FMT_NONE,
132132 };
133133 static const AVChannelLayout layouts[] = {
134− (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO,
135− (AVChannelLayout){ .nb_channels = 0 },
134+ AV_CHANNEL_LAYOUT_MONO,
135+ { .nb_channels = 0 },
136136 };
137137
138138 const ASRContext *s = ctx->priv;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t