Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure only 1 ICY packet processed per reading (earlephilhower#356)
Thanks to @cjwhoishe, fixes earlephilhower#355 . When a large enough read size was requested it is possible that for some streams multiple ICY blocks could appear. The logic doesn't support that, so only read up to 1/2 the ICY block interval to ensure there is no way to see two ICY blocks in one readInternal call.
- Loading branch information