Dont use VLAs

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-05-06 17:25:14 +02:00
parent 6d3ee107e7
commit 1d0a4cb81e
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ public:
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/";
const std::size_t kTmpBufSize = std::min(carla_nextPowerOf2(static_cast<uint32_t>(dataSize/3)), 65536U);
static constexpr const std::size_t kTmpBufSize = 65536U;
const uchar* bytesToEncode((const uchar*)data);