diff --git a/lib_com/options.h b/lib_com/options.h index 077d104322171a1af9a90fb377fe8d8ce9616871..9dc7e7fd129dad34a5d033e1862245b0407954b0 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -109,5 +109,6 @@ #define FIX_USAN_BASOP_UTIL_DIVIDE3232 /* Eri: Fix USAN error in BASOP_Util_Divide3232_Scale_newton by adding explicit type cast for -1 in hex */ #define FIX_1733_CLDFB_BUG +#define FIX_1740_MISING_POP_WMOPS /* VA: fix issue 1740: missing pop_wmops() */ #endif diff --git a/lib_rend/lib_rend_fx.c b/lib_rend/lib_rend_fx.c index e929229647ac8e4a2be73f8c08ecd790174c0086..b46d1361048abe695e2de835a5b1c67bd676e6d6 100644 --- a/lib_rend/lib_rend_fx.c +++ b/lib_rend/lib_rend_fx.c @@ -5715,6 +5715,9 @@ static ivas_error renderLfeToBinaural_fx( ELSE { /* no LFE to render */ +#ifdef FIX_1740_MISING_POP_WMOPS + pop_wmops(); +#endif return IVAS_ERR_OK; }