We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244c84e commit df8f67eCopy full SHA for df8f67e
1 file changed
codec/decoder/plus/src/welsDecoderExt.cpp
@@ -90,7 +90,9 @@ namespace WelsDec {
90
***************************************************************************/
91
DECLARE_PROCTHREAD (pThrProcInit, p) {
92
SWelsDecThreadInfo* sThreadInfo = (SWelsDecThreadInfo*)p;
93
-#if defined(WIN32)
+#if defined(__CYGWIN__)
94
+ alloca (WELS_DEC_MAX_THREAD_STACK_SIZE * (sThreadInfo->uiThrNum + 1));
95
+#elif defined(WIN32)
96
_alloca (WELS_DEC_MAX_THREAD_STACK_SIZE * (sThreadInfo->uiThrNum + 1));
97
#endif
98
return sThreadInfo->pThrProcMain (p);
0 commit comments