filter/AutoConvert: remove obsolete NULL check

This commit is contained in:
Max Kellermann 2017-01-06 12:35:06 +01:00
parent d1a47cffad
commit 5284cd11a9

View File

@ -92,11 +92,8 @@ PreparedAutoConvertFilter::Open(AudioFormat &in_audio_format)
ConstBuffer<void>
AutoConvertFilter::FilterPCM(ConstBuffer<void> src)
{
if (convert != nullptr) {
if (convert != nullptr)
src = convert->FilterPCM(src);
if (src.IsNull())
return nullptr;
}
return filter->FilterPCM(src);
}