[xiph-commits] r9199 - branches/rel-1-0-branch/speex/src

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Sun May 1 21:45:13 PDT 2005


Author: jm
Date: 2005-05-01 21:45:12 -0700 (Sun, 01 May 2005)
New Revision: 9199

Modified:
   branches/rel-1-0-branch/speex/src/speexdec.c
Log:
fixed wav bug like in 1.1.x


Modified: branches/rel-1-0-branch/speex/src/speexdec.c
===================================================================
--- branches/rel-1-0-branch/speex/src/speexdec.c	2005-05-02 00:49:42 UTC (rev 9198)
+++ branches/rel-1-0-branch/speex/src/speexdec.c	2005-05-02 04:45:12 UTC (rev 9199)
@@ -543,7 +543,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