Unified · Split
| @@ -1,3 +1,9 @@ | ||
| 1 | +2009-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com> | |
| 2 | + | |
| 3 | + * tests/termination_test.c | |
| 4 | + Fix termination test error on x86_64. Error probably due to difference in | |
| 5 | + rounding. | |
| 6 | + | |
| 1 | 7 | 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com> |
| 2 | 8 | |
| 3 | 9 | * doc/win32.html |
| @@ -127,7 +127,7 @@ init_term_test (int converter, double src_ratio) · 126 unmodified lines | ||
| 127 | 127 | exit (1) ; |
| 128 | 128 | } ; |
| 129 | 129 | |
| 130 | − if (src_data.input_frames_used != input_len) | |
| 130 | + if (abs (src_data.input_frames_used - input_len) > 1) | |
| 131 | 131 | { printf ("\n\nLine %d : input_frames_used should be %d, is %ld.\n\n", |
| 132 | 132 | __LINE__, input_len, src_data.input_frames_used) ; |
| 133 | 133 | printf ("\tsrc_ratio : %.4f\n", src_ratio) ; |