fade: make draw_slice() chroma check against planes 1 and 2
authorMark Himsley <mark@mdsh.com>
Fri, 18 Mar 2011 14:42:29 +0000 (14:42 +0000)
committerAnton Khirnov <anton@khirnov.net>
Mon, 25 Apr 2011 20:45:44 +0000 (22:45 +0200)
commit9026b27e84f6cf6b0133d7aab5b874500bcc5313
tree7479e9fc3a5c85b590fafbef1e6a3b86259acaef
parentba9327ea65310d9e15acb5791980a7d766c9f986
fade: make draw_slice() chroma check against planes 1 and 2

draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data
are not NULL before manipulating planes 1 and 2. This patch makes the
check against planes 1 and 2. More senseful and possibly more robust.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavfilter/vf_fade.c