tests/src/io/test-source_seek.c: improve seek to half
authorPaul Brossier <piem@piem.org>
Mon, 23 Dec 2013 01:28:32 +0000 (20:28 -0500)
committerPaul Brossier <piem@piem.org>
Mon, 23 Dec 2013 01:28:32 +0000 (20:28 -0500)
tests/src/io/test-source_seek.c

index b42c86c..773aefe 100644 (file)
@@ -64,7 +64,7 @@ int main (int argc, char **argv)
 
   old_n_frames_2 = n_frames;
 
-  aubio_source_seek (s, n_frames / 2);
+  aubio_source_seek (s, old_n_frames_1 / 2);
 
   n_frames = 0;
   do {