shithub: sox

Download patch

ref: 0ed210cd8f05bf74c9488e72d1985f474fe62853
parent: fd8976d422a3dadf5db358ceb1ae2e2f5b07f6eb
author: rrt <rrt>
date: Sun Feb 4 12:17:39 EST 2007

Enlarge header array to cope with PRC

--- a/src/auto.c
+++ b/src/auto.c
@@ -26,7 +26,7 @@
 static int st_autostartread(ft_t ft)
 {
     char *type = NULL;
-    char header[20];
+    char header[256];
     int rc, loop;
 
     /* Attempt to auto-detect filetype using magic values.  Abort loop