Commit 080fb8a9 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_WARNING_RENDER_CONFIG

parent 4746579c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@

/* #################### Start BASOP porting switches ############################ */

#define FIX_WARNING_RENDER_CONFIG                       /* Orange: fix warning on windows build */
#define FIX_1052_EXT_OUTPUT                             /* VA: issue 1052: define EXT decoder output configuration for stereo and MC formats */
#define NONBE_1215_FIX_JBM_MAX_SCALING                  /* FhG: issue 1215: Fix assert hit in a specific VoIP decoder config. Caused by integer overflow in max scaling calculation. */
#define NONBE_FIX_991_PARAMBIN_BINARY_HRTF              /* Nokia: issue #991: fix using of binary file HRTF in ParamBin (to activate when USE_NEW_HRTF_BINARY_FILE_FORMAT and FIX_777_COMBI_RENDER_CONFIG_FILE are on ) */
+0 −4
Original line number Diff line number Diff line
@@ -443,11 +443,7 @@ static ivas_error read_bin_bits(
    *pTarget = 0;
    for ( n = 0; n < nBits; n++ )
    {
#ifdef FIX_WARNING_RENDER_CONFIG
        nByte = (uint32_t) ( ( this->readOffset + n ) >> 3 );
#else
        nByte = ( this->readOffset + n ) >> 3;
#endif
        bit = this->pBitstream[nByte] >> ( 7 - ( ( this->readOffset + n ) % 8 ) ) & 1;
        *pTarget = ( *pTarget << 1 ) + bit;
    }