mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
325bedcf3f
Replaced the raw C array for m_Buffer with std::array to improve bounds safety and code clarity. - Used .data() and .at() for buffer access - Added check for bufferCount exceeding OGG_MAX_BUFFER_COUNT - Left FetchDataIntoBuffer unchanged to avoid breaking external usage (e.g. CStreamItem) This refactor improves safety while keeping external API stable.