diff options
author | Michael Niedermayer <[email protected]> | 2013-05-09 16:41:56 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2013-09-15 15:33:39 +0200 |
commit | 3dfc5f551f4c5960afda6f8806ac5779eb2a230b (patch) | |
tree | e1caad3b6dd8273b6dc10c19661f572864ee198e /libavfilter/libmpcodecs/help_mp.h | |
parent | 60abdb6c17ea87753b37fa83b85d9419b33195c8 (diff) |
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 <[email protected]>
Diffstat (limited to 'libavfilter/libmpcodecs/help_mp.h')
0 files changed, 0 insertions, 0 deletions