diff --git a/src/filter/plugins/AutoConvertFilterPlugin.cxx b/src/filter/plugins/AutoConvertFilterPlugin.cxx index fa0c375cf..f661c1093 100644 --- a/src/filter/plugins/AutoConvertFilterPlugin.cxx +++ b/src/filter/plugins/AutoConvertFilterPlugin.cxx @@ -92,11 +92,8 @@ PreparedAutoConvertFilter::Open(AudioFormat &in_audio_format) ConstBuffer AutoConvertFilter::FilterPCM(ConstBuffer src) { - if (convert != nullptr) { + if (convert != nullptr) src = convert->FilterPCM(src); - if (src.IsNull()) - return nullptr; - } return filter->FilterPCM(src); }