rc : fix bug in deciding qp for first frame in CRF