Fix a potential case where a frame might be initially allocated a too low Qp, which would then have to be raised a lot during per-line rate control. In some cases, it was even producing vbv underflows in 2 passes mode. -- Gabriel