Skip to content

Commit

Permalink
rnnoise-build: define USE_MALLOC to use malloc() and free() instead o…
Browse files Browse the repository at this point in the history
…f variable length arrays
  • Loading branch information
davidebeatrici committed Jul 6, 2018
1 parent 0e9944f commit b6cc8e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions 3rdparty/rnnoise-build/rnnoise-build.pro
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ win32 {

win32-msvc* {
DEFINES += _USE_MATH_DEFINES # To define M_PI
DEFINES += USE_MALLOC # To use malloc() and free() instead of variable length arrays
}

unix {
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/rnnoise-src
Submodule rnnoise-src updated 2 files
+25 −0 src/celt_lpc.c
+30 −0 src/pitch.c

0 comments on commit b6cc8e7

Please sign in to comment.