shithub: sox

Download patch

ref: 560be6db0127f4ad1eb5d63ab5e63245c95fb6c1
parent: b9cb8289a553aa616c8ecaa450b5c07b0e76d6c7
author: cbagwell <cbagwell>
date: Thu Mar 1 10:47:36 EST 2001

Fixed typo when defaulting channels to 1.

--- a/src/gsm.c
+++ b/src/gsm.c
@@ -61,7 +61,7 @@
 		ft->info.rate = 8000;
 
 	if (ft->info.channels == -1)
-	    ft->info.channels == 1;
+	    ft->info.channels = 1;
 
 	p->channels = ft->info.channels;
 	if (p->channels > MAXCHANS || p->channels <= 0)