swscale: fix ticket #4881
authorPedro Arthur <bygrandao@gmail.com>
Tue, 13 Oct 2015 16:32:07 +0000 (13:32 -0300)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 13 Oct 2015 18:11:42 +0000 (20:11 +0200)
commitbb3b4ad46030939fbf44fb83c004ab851c55c3d3
tree2010c47cb997c1e7fdb8a5b343eb84400bb251c2
parent13d3749424813301b732e8930cf32187ac62daa9
swscale: fix ticket #4881

When scaling only a slice of a frame the output was written always
in the first lines leaving the rest of the frame black.
(cherry picked from commit 5bd62a1b3c3356b84818efca3fcaf52da27a32af)
libswscale/slice.c
libswscale/swscale.c
libswscale/swscale_internal.h