mirror of
https://github.com/google/liblc3.git
synced 2026-05-04 20:28:01 +00:00
fix: Remove VLA to support compilation with MSVC
This commit is contained in:
@@ -51,7 +51,7 @@ LC3_HOT static int estimate_gain(
|
||||
int nbits_budget, float nbits_off, int g_off, bool *reset_off)
|
||||
{
|
||||
int ne = LC3_NE(dt, sr) >> 2;
|
||||
int e[ne];
|
||||
int e[LC3_MAX_NE];
|
||||
|
||||
/* --- Energy (dB) by 4 MDCT blocks --- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user