Commit c8feb725 authored by emerit's avatar emerit
Browse files

fix warning as error on windows

parent f80ff65f
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -151,11 +151,9 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_CRASH_LONG_BRIR                             /* Orange: Fix crash when long BRIR is set */
#define FIX_638_ENERGIE_IAC_ROM_TABLES                  /* Orange: Missing left/right and coherence late reverb tables in binary format*/
#define FIX_OLD_BINARY_FORMAT                           /* Orange: temporary to maintain bitexactness */
#define FIX_910_REMOVE_DUPLICATION_TD_REND              /* VA: issue 910: remove duplication of function ivas_td_binaural_renderer() */
#define FIX_940_DEBUGGING_VARIABLE                      /* Nokia: issue #940: remove debugging variable */
#define FIX_WARNING_AS_ERROR

#define FIX_CRASH_LONG_BRIR                             /* Orange : Fix crash when long BRIR is set */
#define FIX_638_ENERGIE_IAC_ROM_TABLES                  /* Orange : Missing left/right and coherence late reverb tables in binary format*/
+5 −0
Original line number Diff line number Diff line
@@ -435,8 +435,13 @@ static ivas_error read_bin_bits(
    *pTarget = 0;
    for ( n = 0; n < nBits; n++ )
    {
#ifdef FIX_WARNING_AS_ERROR
        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;
    }