avcodec/roqvideoenc: fix infinite lambda increasing loop
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2014 15:05:27 +0000 (17:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2014 15:09:56 +0000 (17:09 +0200)
commitfe4c76b3d09fb1d93efd438fac35ef16324d40cb
tree8a4c3ec56efd2fbdb8b04994d6fd17e032d1f4e3
parenta981d1b6aae91e9c9bd1a5cb944266b6e25ba958
avcodec/roqvideoenc: fix infinite lambda increasing loop

The threshold was choosen so that no further size decrease happened with larger lambda
with the test video.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/roqvideoenc.c