[FFmpeg-cvslog] avfilter/af_apulsator: remove unecessary initializer from layouts
James Almer
git at videolan.org
Thu Sep 5 18:38:22 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Sep 5 12:34:36 2024 -0300| [ef6a5c98fb5222ce3f8c7a1cca1dabeca83f8af6] | committer: James Almer
avfilter/af_apulsator: 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=ef6a5c98fb5222ce3f8c7a1cca1dabeca83f8af6
---
libavfilter/af_apulsator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_apulsator.c b/libavfilter/af_apulsator.c
index 8e01cd6feb..4272e5f3a0 100644
--- a/libavfilter/af_apulsator.c
+++ b/libavfilter/af_apulsator.c
@@ -194,8 +194,8 @@ static int query_formats(const AVFilterContext *ctx,
AV_SAMPLE_FMT_NONE,
};
static const AVChannelLayout layouts[] = {
- (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO,
- (AVChannelLayout){ .nb_channels = 0 },
+ AV_CHANNEL_LAYOUT_STEREO,
+ { .nb_channels = 0 },
};
int ret;
More information about the ffmpeg-cvslog
mailing list