Commit 9a8eb0ab authored by emerit's avatar emerit
Browse files

align with float code

parent 6b4dc893
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -151,8 +151,9 @@ ivas_error ivas_dec_get_format_fx(
    /*-------------------------------------------------------------------*
     * Read other signaling (ISM/MC mode, number of channels, etc.)
     *-------------------------------------------------------------------*/

#ifndef FIX_HRTF_LOAD
    k = extract_l( Mpy_32_32_r( ivas_total_brate, ONE_BY_FRAMES_PER_SEC_Q31 ) );
#endif

    IF( is_DTXrate( ivas_total_brate ) == 0 )
    {
@@ -175,6 +176,7 @@ ivas_error ivas_dec_get_format_fx(
            nchan_ism = 1;
            move16();
#ifdef FIX_HRTF_LOAD
            k = extract_l( Mpy_32_32_r( ivas_total_brate, ONE_BY_FRAMES_PER_SEC_Q31 ) );
            k = sub( k, 1 );
            WHILE( st_ivas->bit_stream[k] && ( nchan_ism < MAX_NUM_OBJECTS ) )
#else
@@ -492,6 +494,7 @@ ivas_error ivas_dec_get_format_fx(
            nchan_ism = 1;
            move16();
#ifdef FIX_HRTF_LOAD
            k = extract_l( Mpy_32_32_r( ivas_total_brate, ONE_BY_FRAMES_PER_SEC_Q31 ) );
            k = sub( sub( k, 1 ), SID_FORMAT_NBITS );
            WHILE( st_ivas->bit_stream[k] && ( nchan_ism < MAX_NUM_OBJECTS ) )
#else