![Zhiming Wang](/assets/img/avatar_default.png)
Output height was erroneously used as the srcSliceH argument to sws_scale, causing the output frame to be partially blank when scaling down or outright erroring when scaling up. See documentation of sws_scale: https://www.ffmpeg.org/doxygen/4.0/group__libsws.html#gae531c9754c9205d90ad6800015046d74 Fixes #18.