shithub: sox

Download patch

ref: 3d4d1cb32f3ade1510567aa8b481ee20752a116b
parent: f77f0f732eb11153e182443204211a7216d50cd4
author: cbagwell <cbagwell>
date: Sat Oct 1 16:08:27 EDT 2005

Move to st_seeki.

--- a/src/smp.c
+++ b/src/smp.c
@@ -263,7 +263,7 @@
 
         /* seek from the current position (the start of sample data) by */
         /* NoOfSamps * sizeof(int16_t) */
-        if (st_seek(ft, smp->NoOfSamps * 2L, 1) == -1)
+        if (st_seeki(ft, smp->NoOfSamps * 2L, 1) == -1)
         {
                 st_fail_errno(ft,errno,"SMP unable to seek to trailer");
                 return(ST_EOF);