Commit 1fe68a95 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Merge branch '777-fix-for-combined-render-config-file' into...

Merge branch '777-fix-for-combined-render-config-file' into 777-render-config-reader-fails-to-read-combined-config-file
parents 09d781af 20c52312
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@

#define BE_FIX_567_DOUBLE_STEREO_DMX                          /* NTT: Fix formal issues */   
#define NONBE_FIX_567_DOUBLE_STEREO_DMX                       /* Orange: Double-precision replaced by single-precision */   
#define FIX_777_COMBI_RENDER_CONFIG_FILE                      /* Philips: Fix for combined renderer config file support */
#define NONBE_FIX_947_STEREO_DMX_EVS_POC                      /* Orange: Fix clicks on POC */
#ifdef NONBE_FIX_947_STEREO_DMX_EVS_POC
#define NONBE_FIX_947_STEREO_DMX_ROMOPT                       /* Orange: ROM optimisation for POC*/  
+8 −0
Original line number Diff line number Diff line
@@ -2301,7 +2301,11 @@ ivas_error RenderConfigReader_read(
                    /* RT60 */
                    else if ( strcmp( item, "RT60" ) == 0 )
                    {
#ifdef FIX_777_COMBI_RENDER_CONFIG_FILE
                        if ( read_txt_vector( pValue, pRenderConfigReader->pAE[acIdx].pFG->nrBands, pRenderConfigReader->pAE[acIdx].pRT60 ) )
#else
                        if ( read_txt_vector( pValue, pRenderConfigReader->pFG[idx].nrBands, pRenderConfigReader->pAE[acIdx].pRT60 ) )
#endif
                        {
                            errorHandler( item, ERROR_VALUE_INVALID );
                            return IVAS_ERR_INVALID_RENDER_CONFIG;
@@ -2311,7 +2315,11 @@ ivas_error RenderConfigReader_read(
                    /* DSR */
                    else if ( strcmp( item, "DSR" ) == 0 )
                    {
#ifdef FIX_777_COMBI_RENDER_CONFIG_FILE
                        if ( read_txt_vector( pValue, pRenderConfigReader->pAE[acIdx].pFG->nrBands, pRenderConfigReader->pAE[acIdx].pDSR ) )
#else
                        if ( read_txt_vector( pValue, pRenderConfigReader->pFG[idx].nrBands, pRenderConfigReader->pAE[acIdx].pDSR ) )
#endif
                        {
                            errorHandler( item, ERROR_VALUE_INVALID );
                            return IVAS_ERR_INVALID_RENDER_CONFIG;