0、1、2、3、4......249、0、1、2、3、4...、48、49
x264 --crf 22 -o test.264 hall_cif.yuv 352x288
static void x264_slice_header_init( x264_t *h, x264_slice_header_t *sh,
x264_sps_t *sps, x264_pps_t *pps,
int i_type, int i_idr_pic_id, int i_frame, int i_qp )
{
x264_param_t *param = &h->param;
int i;
printf("\n encoder.c:i_frame = %d",i_frame);//zjh 打印效果:0、1、2、3...249,0、1、2、3 (测试序列为300帧),说明i_frame最大值为250或249