avfilter: avoid testing float == 0
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 9 May 2013 14:41:56 +0000 (16:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Sep 2013 13:33:39 +0000 (15:33 +0200)
commit3dfc5f551f4c5960afda6f8806ac5779eb2a230b
treee1caad3b6dd8273b6dc10c19661f572864ee198e
parent60abdb6c17ea87753b37fa83b85d9419b33195c8
avfilter: avoid testing float == 0

This fixes the hypothetical case of rounding errors causing
incorrect values to be used.
We do not use *_EPSILON, because non trivial expressions can contain
errors larger than that making a zero equality test with *_EPSILON
unreliable.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c