ad6e122328
From Brad. Tested by me.
13 lines
414 B
Plaintext
13 lines
414 B
Plaintext
$OpenBSD: patch-lib_sequence_sequence_c,v 1.2 2011/03/13 10:26:26 dcoppa Exp $
|
|
--- lib/sequence/sequence.c.orig Fri Jan 21 15:52:01 2011
|
|
+++ lib/sequence/sequence.c Sat Jan 29 21:18:37 2011
|
|
@@ -756,7 +756,7 @@ bool seq_Update()
|
|
{
|
|
for (j = 0; j < videodata.vi.channels; j++)
|
|
{
|
|
- int val = nearbyint(pcm[j][i] * 32767.f);
|
|
+ int val = rint(pcm[j][i] * 32767.f);
|
|
|
|
if (val > 32767)
|
|
{
|