ratecontrol: update last_qscale_for sooner
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 16 Sep 2011 18:06:55 +0000 (20:06 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 23 Sep 2011 00:25:48 +0000 (17:25 -0700)
commitd554b33efe97d4b46c695e7cfa6f248780907ee7
tree67c5b6306da17f9ee59b084745a8073fa5be35d4
parent4d4d0e817607bce2a3a0806540f19d5d2b3b9376
ratecontrol: update last_qscale_for sooner

In order to make ratecontrol converge properly update the
last_qscale_for values when populating the qscale array.

It fixes the issue reported on
http://lists.libav.org/pipermail/libav-tools/2011-September/000050.html
libavcodec/ratecontrol.c