History

tests/termination_test.c : Fix termination test error on x86_64. Error probably due to difference in rounding.

Erik de Castro Lopo committed 17 years ago

Commit 0ebd5051 parent 2931dcd2 files · +7 −1Browse files

Unified · Split

2 files
  1. ChangeLog +6 −0
  2. tests/termination_test.c +1 −1
ChangeLog+6−0
@@ -1,3 +1,9 @@
12009-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
12009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>72009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2 8
3 * doc/win32.html9 * doc/win32.html
tests/termination_test.c+1−1
@@ -127,7 +127,7 @@ init_term_test (int converter, double src_ratio) · 126 unmodified lines
127 exit (1) ;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 { printf ("\n\nLine %d : input_frames_used should be %d, is %ld.\n\n",131 { printf ("\n\nLine %d : input_frames_used should be %d, is %ld.\n\n",
132 __LINE__, input_len, src_data.input_frames_used) ;132 __LINE__, input_len, src_data.input_frames_used) ;
133 printf ("\tsrc_ratio : %.4f\n", src_ratio) ;133 printf ("\tsrc_ratio : %.4f\n", src_ratio) ;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t