1
0
forked from mirrors/0ad
Files
0ad/source
trompetin17 325bedcf3f Use std::array for OggData buffer handling
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.
2025-07-22 08:41:00 -05:00
..
2025-07-01 09:01:00 +02:00
2025-07-19 18:16:14 +02:00
2025-07-19 18:16:14 +02:00
2025-07-11 11:06:04 -05:00