]> git.sesse.net Git - ffmpeg/commit
avcodec/vc2enc: prevent bitrate overshoots
authorRostislav Pehlivanov <rpehlivanov@obe.tv>
Wed, 6 Apr 2016 10:51:24 +0000 (11:51 +0100)
committerJames Darnley <jdarnley@obe.tv>
Wed, 31 Jan 2018 16:29:45 +0000 (17:29 +0100)
commit61a4ee8ab482925cb419133cab42e4c4ef6a3f07
tree9a0a887360fcd56362c9eafd706e2067d4ef3d8a
parentfe1e6c06d03432c3e9208f019533c1d701f485d0
avcodec/vc2enc: prevent bitrate overshoots

The rounding caused by the size scaler wasn't compensated for and the
slice sizes grew beyond what is allowed per frame.

Signed-off-by: Rostislav Pehlivanov <rpehlivanov@obe.tv>
libavcodec/vc2enc.c