Commit 36e9411b authored by Nishant S Kulgod's avatar Nishant S Kulgod
Browse files

resolved issues due to overflow

parent c6ed61e2
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -933,7 +933,8 @@ void AVQ_encmux_ivas_fx(
        IF( j > 0 )
        {
            /* write the unary code */
            push_indice( hBstr, nq_ind, sub( shl_sat( 1, j ), 1 ), j );
            push_indice( hBstr, nq_ind, u_extract_l( L_sub( L_shl_sat( 1, j ), 1 ) ), j );
            assert(abs((1 << j) - 1) <= 65536);
        }

        IF( nq[i] != 0 )