utvideoenc: properly set slice height/last line
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Thu, 9 Oct 2014 21:27:38 +0000 (23:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Oct 2014 18:30:12 +0000 (20:30 +0200)
commitf2fba0749486d42453288626b7842ad383add398
treeb3c650e3e72ec2307dcc230419fc6aec88e1d737
parent1ebd7d2ccfe1b7196894b245416b0aa913681e22
utvideoenc: properly set slice height/last line

Mimic decoder and obey sampling.

Does not affect fate tests for utvideo.
Fixes ticket #3949.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cb530dda7d76790b08ee3b7f67e251f3ce48c359)

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