On Tue Nov 15 20:30:59 2022 +0000, Zebediah Figura wrote:
What's the point of this? We never check the return code of async_reader_get_next_sample(), only whether it FAILED().
No, it's checked outside of the loop to see if all streams have received EOS (in which case `hr == NS_E_NO_MORE_SAMPLES`), or if there's still some streams with pending requests or pending samples to deliver (`hr == E_PENDING`).