shithub: sox

Download patch

ref: d9dd5b3c056063b2f7c63cc6a3d3cdf512fe7eac
parent: a9ae4914828d1beb5b046db23f20630c22812eec
author: cbagwell <cbagwell>
date: Sun Jul 15 00:04:58 EDT 2007

Print encoding correctly for error case.

--- a/src/au.c
+++ b/src/au.c
@@ -102,7 +102,7 @@
             *size = SOX_SIZE_32BIT;
             break;
     default:
-            sox_debug("encoding: 0x%lx", *encoding);
+            sox_debug("encoding: 0x%lx", sun_encoding);
             return(SOX_EOF);
     }
     return(SOX_SUCCESS);