Loading apps/isar_post_rend.c +11 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif ISAR_POST_REND_HANDLE hIsarPostRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1222,6 +1225,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -1252,7 +1259,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading apps/renderer.c +11 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif IVAS_REND_HANDLE hIvasRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1965,6 +1968,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -2021,7 +2028,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ #define TMP_FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add error check for unsupported config: split rendering with VoIP mode */ #define FIX_1335_EXTREND_RETCODE /* FhG: Add modification of returncode for external renderer when an error occurs */ /* #################### End BE switches ################################## */ Loading Loading
apps/isar_post_rend.c +11 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif ISAR_POST_REND_HANDLE hIsarPostRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1222,6 +1225,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -1252,7 +1259,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading
apps/renderer.c +11 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif IVAS_REND_HANDLE hIvasRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1965,6 +1968,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -2021,7 +2028,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ #define TMP_FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add error check for unsupported config: split rendering with VoIP mode */ #define FIX_1335_EXTREND_RETCODE /* FhG: Add modification of returncode for external renderer when an error occurs */ /* #################### End BE switches ################################## */ Loading