diff --git a/src/filter/plugins/TwoFilters.cxx b/src/filter/plugins/TwoFilters.cxx index ee67d9073..a7597c527 100644 --- a/src/filter/plugins/TwoFilters.cxx +++ b/src/filter/plugins/TwoFilters.cxx @@ -23,7 +23,7 @@ TwoFilters::FilterPCM(std::span src) std::span TwoFilters::Flush() { - if (auto result = first->Flush(); result.data() != nullptr) + if (auto result = first->Flush(); !result.empty()) /* Flush() output from the first Filter must be filtered by the second Filter */ return second->FilterPCM(result);