shithub: sox

Download patch

ref: 9f09e6711b5866545f06f0745475ee01f552fc41
parent: 18eb92b96b5615f1fcdd0dba6ea7ce140a99528a
author: robs <robs>
date: Wed Dec 6 15:12:32 EST 2006

Removed some ancient & incorrect code that was causing resample to fail.

--- a/src/resample.c
+++ b/src/resample.c
@@ -241,12 +241,6 @@
                 r->Nq = Nc; /* for now */
         }
 
-        /* Check for illegal constants */
-        if (Lp >= 16) {
-          st_fail("Error: Lp>=16");
-          return (ST_EOF);
-        }
-
         /* Nwing: # of filter coeffs in right wing */
         r->Nwing = r->Nq * (r->Nmult/2+1) + 1;