How to specify encoder sps parameters?

How to specify parameters in the encoder so that the pic_order_cnt parameter in the SPS of the encoded video in H.264 is set to 1?