[xiph-commits] r8957 - trunk/speex/src

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Sat Feb 19 13:45:21 PST 2005


Author: jm
Date: 2005-02-19 13:45:20 -0800 (Sat, 19 Feb 2005)
New Revision: 8957

Modified:
   trunk/speex/src/speexdec.c
Log:
Fix for stupid wav handling bug reported by Walt Mendenhall


Modified: trunk/speex/src/speexdec.c
===================================================================
--- trunk/speex/src/speexdec.c	2005-02-19 20:56:04 UTC (rev 8956)
+++ trunk/speex/src/speexdec.c	2005-02-19 21:45:20 UTC (rev 8957)
@@ -549,7 +549,7 @@
       outFile = "";
    wav_format = strlen(outFile)>=4 && (
                                        strcmp(outFile+strlen(outFile)-4,".wav")==0
-                                       || strcmp(inFile+strlen(inFile)-4,".WAV")==0);
+                                       || strcmp(outFile+strlen(outFile)-4,".WAV")==0);
    /*Open input file*/
    if (strcmp(inFile, "-")==0)
    {



More information about the commits mailing list