[FFmpeg-cvslog] avfilter/af_bs2b: remove unecessary initializer from layouts
James Almer
git at videolan.org
Thu Sep 5 18:38:27 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Sep 5 12:35:04 2024 -0300| [a49188297f1763c4f6188ca8ca7c1a8da6771896] | committer: James Almer
avfilter/af_bs2b: 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=a49188297f1763c4f6188ca8ca7c1a8da6771896
---
libavfilter/af_bs2b.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c
index de2c30fede..006c8564fc 100644
--- a/libavfilter/af_bs2b.c
+++ b/libavfilter/af_bs2b.c
@@ -95,8 +95,8 @@ static int query_formats(const AVFilterContext *ctx,
AVFilterFormatsConfig **cfg_out)
{
static const AVChannelLayout layouts[] = {
- (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO,
- (AVChannelLayout){ .nb_channels = 0 },
+ AV_CHANNEL_LAYOUT_STEREO,
+ { .nb_channels = 0 },
};
static const enum AVSampleFormat sample_fmts[] = {
More information about the ffmpeg-cvslog
mailing list