On Thu, Feb 16, 2017 at 12:33:36PM +0200, Martin Storsjö wrote:
> When slice_h is rounded up due to chroma subsampling, there's
> a risk that jobnr * slice_h exceeds frame->height.
> Prior to a638e9184d63, this wasn't an issue for the last slice
> of a frame, since slice_end was set to frame->height for the last
> a638e9184d63 tried to fix the case where other slices than the
> last one would exceed frame->height (which can happen where the
> number of slices/threads is very large compared to the frame
> However, the fix in a638e9184d63 instead broke other cases,
> where slice_h * nb_threads < frame->height. Therefore, make
> sure the last slice always ends at frame->height.
> CC: libav-sta...@libav.org
> libavfilter/vf_fade.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Fixes fate-filter-fade for me on the box where I could reproduce this.
libav-devel mailing list