[vlc-devel] [PATCH] audio_output: filters: fix audio fmt initialization
Tristan Matthews
tmatth at videolan.org
Mon Feb 22 17:51:32 UTC 2021
This invalidates the previous patchset.
Fixes #25477
---
src/audio_output/filters.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index 4578051a41..3e3c73b5a5 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -56,6 +56,7 @@ filter_t *aout_filter_Create(vlc_object_t *obj, const filter_owner_t *restrict o
filter->fmt_in.audio = *infmt;
filter->fmt_in.i_codec = infmt->i_format;
filter->fmt_out.audio = *outfmt;
+ aout_FormatPrepare(&filter->fmt_out.audio);
filter->fmt_out.i_codec = outfmt->i_format;
#ifndef NDEBUG
--
2.25.1
More information about the vlc-devel
mailing list