[FFmpeg-cvslog] avfilter/af_asr: remove unecessary initializer from layouts
James Almer
git at videolan.org
Thu Sep 5 18:38:24 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Sep 5 12:35:28 2024 -0300| [d98de855a8defc44585e411ea5d407637ce96c2c] | committer: James Almer
avfilter/af_asr: remove unecessary initializer from layouts
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d98de855a8defc44585e411ea5d407637ce96c2c
---
libavfilter/af_asr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_asr.c b/libavfilter/af_asr.c
index 26963222fd..8e8eeb19a7 100644
--- a/libavfilter/af_asr.c
+++ b/libavfilter/af_asr.c
@@ -131,8 +131,8 @@ static int query_formats(const AVFilterContext *ctx,
AV_SAMPLE_FMT_NONE,
};
static const AVChannelLayout layouts[] = {
- (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO,
- (AVChannelLayout){ .nb_channels = 0 },
+ AV_CHANNEL_LAYOUT_MONO,
+ { .nb_channels = 0 },
};
const ASRContext *s = ctx->priv;
More information about the ffmpeg-cvslog
mailing list