Commit 0f391f22 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Directivity parameters parsing shall not be under DEBUGGING option

parent 14f030c3
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -2021,12 +2021,9 @@ ivas_error RenderConfigReader_read(
                        }
                        free( pCombinedName );
                    }
#ifdef DEBUGGING
                    else
#endif
#endif
#ifdef DEBUGGING
                        if ( strcmp( item, "RENDERER" ) == 0 )
                    else if ( strcmp( item, "RENDERER" ) == 0 )
                    {
                        if ( strcmp( pValue, "CREND" ) == 0 )
                        {
@@ -2041,6 +2038,7 @@ ivas_error RenderConfigReader_read(
                            errorHandler( pValue, ERROR_VALUE_INVALID );
                        }
                    }
#endif
                    else if ( strcmp( item, "DIRECTIVITY" ) == 0 )
                    {
                        if ( read_vector( pValue, 3, hRenderConfig->directivity ) )
@@ -2052,7 +2050,6 @@ ivas_error RenderConfigReader_read(
                    {
                        fprintf( stderr, "Unsupported configuration property %s\n", item );
                    }
#endif
#ifdef CONTROL_METADATA_REVERB
                    params_idx += params_length;
#endif