Closed dwbuiten closed 4 years ago
The source of the values inside libavcodec/libavformat is fixed point, and using DBL_EPSILON is incorrect here, as well as equality.
DBL_EPSILON
An error of 1e-5 was chosen based off of the actual hardcoded values in the test.
1e-5
The source of the values inside libavcodec/libavformat is fixed point, and using
DBL_EPSILON
is incorrect here, as well as equality.An error of
1e-5
was chosen based off of the actual hardcoded values in the test.