diff options
-rw-r--r-- | libmpcodecs/vf_fspp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpcodecs/vf_fspp.c b/libmpcodecs/vf_fspp.c index 3de46e2284..ef9e107455 100644 --- a/libmpcodecs/vf_fspp.c +++ b/libmpcodecs/vf_fspp.c @@ -647,9 +647,14 @@ static int open(vf_instance_t *vf, char* args) if( log2c >=4 && log2c <=5 ) vf->priv->log2_count = log2c; + else if( log2c >= 6 ) + vf->priv->log2_count = 5; if(vf->priv->qp < 0) vf->priv->qp = 0; + + if (i < -15) i = -15; + if (i > 32) i = 32; bias= (1<<4)+i; //regulable vf->priv->prev_q=0; |