mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-08 15:56:15 -04:00
When pushing to the front of an empty circular buffer, it would not update the end_pos, so end_pos would be left on 0, and it would break when trying to push to the back after that. The reason why this bug was never discovered until now is because breakage only happens when pushing to the front of an empty buffer, then pushing to the back right after that.