filter/AutoConvert: remove obsolete NULL check
This commit is contained in:
parent
d1a47cffad
commit
5284cd11a9
@ -92,11 +92,8 @@ PreparedAutoConvertFilter::Open(AudioFormat &in_audio_format)
|
|||||||
ConstBuffer<void>
|
ConstBuffer<void>
|
||||||
AutoConvertFilter::FilterPCM(ConstBuffer<void> src)
|
AutoConvertFilter::FilterPCM(ConstBuffer<void> src)
|
||||||
{
|
{
|
||||||
if (convert != nullptr) {
|
if (convert != nullptr)
|
||||||
src = convert->FilterPCM(src);
|
src = convert->FilterPCM(src);
|
||||||
if (src.IsNull())
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
return filter->FilterPCM(src);
|
return filter->FilterPCM(src);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user