lavfi/selectivecolor: fix neutral color filtering
authorClément Bœsch <u@pkh.me>
Thu, 9 Aug 2018 17:22:02 +0000 (19:22 +0200)
committerClément Bœsch <u@pkh.me>
Thu, 9 Aug 2018 17:56:26 +0000 (19:56 +0200)
commiteb1860e0174df1e55fce09084421847a1847424a
tree1d88a626806b3d1d717f9adea181c5db17a64cca
parente0539f0349e945793c11cd88c468d9a2f3fedce9
lavfi/selectivecolor: fix neutral color filtering

Neutrals are supposed to be anything not black (0,0,0) and not white
(N,N,N).

Previous neutral filtering code was too strict by excluding colors with
any of its RGB component maxed instead of just the white color.

Reported-by: Royi Avital <royiavital@yahoo.com>
libavfilter/vf_selectivecolor.c