diff --git a/src/filter/plugins/HdcdFilterPlugin.cxx b/src/filter/plugins/HdcdFilterPlugin.cxx index 03392614a..32fa08237 100644 --- a/src/filter/plugins/HdcdFilterPlugin.cxx +++ b/src/filter/plugins/HdcdFilterPlugin.cxx @@ -92,7 +92,7 @@ HdcdFilter::HdcdFilter(AudioFormat &audio_format) out_audio_format.format = SampleFormat::S32; in_audio_frame_size = audio_format.GetFrameSize(); - out_audio_frame_size = audio_format.GetFrameSize(); + out_audio_frame_size = out_audio_format.GetFrameSize(); } class PreparedHdcdFilter final : public PreparedFilter {