Loading lib_dec/ivas_init_dec_fx.c +6 −0 Original line number Diff line number Diff line Loading @@ -486,7 +486,13 @@ ivas_error ivas_dec_get_format_fx( /* read the number of objects */ nchan_ism = 1; move16(); #ifdef FIX_HRTF_LOAD k = sub( sub( k, 1 ), SID_FORMAT_NBITS ); move16(); WHILE( st_ivas->bit_stream[k] && ( nchan_ism < MAX_NUM_OBJECTS ) ) #else WHILE( st_ivas->bit_stream[k - 1 - SID_FORMAT_NBITS] && nchan_ism < MAX_NUM_OBJECTS ) #endif { nchan_ism = add( nchan_ism, 1 ); k = sub( k, 1 ); Loading Loading
lib_dec/ivas_init_dec_fx.c +6 −0 Original line number Diff line number Diff line Loading @@ -486,7 +486,13 @@ ivas_error ivas_dec_get_format_fx( /* read the number of objects */ nchan_ism = 1; move16(); #ifdef FIX_HRTF_LOAD k = sub( sub( k, 1 ), SID_FORMAT_NBITS ); move16(); WHILE( st_ivas->bit_stream[k] && ( nchan_ism < MAX_NUM_OBJECTS ) ) #else WHILE( st_ivas->bit_stream[k - 1 - SID_FORMAT_NBITS] && nchan_ism < MAX_NUM_OBJECTS ) #endif { nchan_ism = add( nchan_ism, 1 ); k = sub( k, 1 ); Loading