[vlc-commits] transcode: encoder: fix audio fmt initialization
Tristan Matthews
git at videolan.org
Tue Feb 23 13:21:29 UTC 2021
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Mon Feb 22 12:42:42 2021 -0500| [9d761adc9224b0728282d79e3ec7a882e0db228c] | committer: Tristan Matthews
transcode: encoder: fix audio fmt initialization
Fixes #25477
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d761adc9224b0728282d79e3ec7a882e0db228c
---
modules/stream_out/transcode/encoder/audio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/stream_out/transcode/encoder/audio.c b/modules/stream_out/transcode/encoder/audio.c
index 2aa0c78859..841291b4bf 100644
--- a/modules/stream_out/transcode/encoder/audio.c
+++ b/modules/stream_out/transcode/encoder/audio.c
@@ -186,6 +186,8 @@ int transcode_encoder_audio_test( encoder_t *p_encoder,
p_encoder->fmt_in.audio.i_format = p_encoder->fmt_in.i_codec;
+ aout_FormatPrepare(&p_encoder->fmt_in.audio);
+
/* copy our requested format */
es_format_Copy( p_enc_wanted_in, &p_encoder->fmt_in );
More information about the vlc-commits
mailing list