aacenc: Fix target bitrate for twoloop quantiser search
authorClaudio Freire <klaussfreire@gmail.com>
Sat, 4 May 2013 21:36:37 +0000 (18:36 -0300)
committerMartin Storsjö <martin@martin.st>
Tue, 14 May 2013 09:42:04 +0000 (12:42 +0300)
commitf4d0a63b5b5c682c18df3bba730f97a9067408ba
treedcf3c84f072017f44cf4b54fed1cc98a05fa87a5
parent7c71ada4cad3c6aab5fa24155c379465c41cfd76
aacenc: Fix target bitrate for twoloop quantiser search

This fixes a case where multichannel bitrate isn't accurately
targetted by psy model alone, never achieving the target bitrate.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/aaccoder.c