ffmpeg | branch: master | James Almer <jamr...@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 <jamr...@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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".