mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 18:34:22 +00:00
Near-identical loops differing only by comparator → a shared getBufferedEnd(buffers, isEndMatch). getMinBufferedEnd drops its abort-on-empty→undefined path (unused: recover-end-stall consumes it only behind an msEnded guard, where every buffer has ranges), so it skips empty buffers and floors at 0 like getMaxBufferedEnd. Tests updated to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>