if(lps_state[i]){
if( i ){
void ff_init_cabac_states(CABACContext *c, uint8_t const (*lps_range)[4],                           uint8_t const *mps_state, uint8_t const *lps_state, int state_count){    int i, j;        for(i=0; i<state_count; i++){        for(j=0; j<4; j++){ //FIXME check if this is worth the 1 shift we save            c->lps_range[2*i+0][j]=            c->lps_range[2*i+1][j]= lps_range[i][j];        }        c->mps_state[2*i+0]= 2*mps_state[i];        c->mps_state[2*i+1]= 2*mps_state[i]+1;        if(lps_state[i]){            c->lps_state[2*i+0]= 2*lps_state[i];            c->lps_state[2*i+1]= 2*lps_state[i]+1;        }else{            c->lps_state[2*i+0]= 1;            c->lps_state[2*i+1]= 0;        }    }}