fprintf(stderr, "qp<=0.0\n");
av_log(NULL, AV_LOG_ERROR, "qp<=0.0\n");
static inline double qp2bits(RateControlEntry *rce, double qp){    if(qp<=0.0){        fprintf(stderr, "qp<=0.0\n");    }    return rce->qscale * (double)(rce->i_tex_bits + rce->p_tex_bits+1)/ qp;}