fade: fix draw_slice() check on fade->factor value
draw_slice() checks that the fade factor is < 65536 and onlycalculates the fade if so. But the fade factor is clipped inend_frame() by av_clip_uint16() to 65535, so the fade is calculatedfor every frame. This patch alters the check so that it compares with...
fade: make draw_slice() chroma check against planes 1 and 2
draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's dataare not NULL before manipulating planes 1 and 2. This patch makes thecheck against planes 1 and 2. More senseful and possibly more robust.
lavfi: add fade filter
Port fade filter from libavfilter soc repo, with minor fixes byStefano.
Signed-off-by: Michael Niedermayer <email@example.com>