changeset 2962:89d29615390d

Make EOF work.
author William Pitcock <nenolod@atheme.org>
date Thu, 16 Oct 2008 14:47:55 -0500
parents 70b0973e7b70
children 4c112fb7f9f5
files src/xsf/plugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xsf/plugin.c	Thu Oct 16 14:45:41 2008 -0500
+++ b/src/xsf/plugin.c	Thu Oct 16 14:47:55 2008 -0500
@@ -140,7 +140,7 @@
 			xsf_gen(samples, seglen);
 			xsf_update(samples, seglen * 4, data);
 
-			if (data->output->written_time() > length)
+			if (data->output->written_time() > (length / 1000))
 				data->eof = TRUE;
 		}