[Speex-dev] a possible bug in 1.1.6
Jean-Marc Valin
Jean-Marc.Valin at USherbrooke.ca
Sat Feb 19 13:45:00 PST 2005
Oops, there was indeed a bug. It's fixed in svn now.
Jean-Marc
Le jeudi 17 février 2005 à 17:23 -0700, Walt Mendenhall a écrit :
> Hello Speex,
>
> I think I've noticed a bug in version 1.1.6.
>
> In the source file "speexdec.c", lines 558 to 560 say
>
> wav_format = strlen(outFile)>=4 && (
> strcmp(outFile
> +strlen(outFile)-4,".wav")==0
> || strcmp(inFile
> +strlen(inFile)-4,".WAV")==0);
>
> . I think each "inFile" should be "outFile". On the other hand, if
> we really want to look at the "inFile", then we should check its
> length also.
>
>
> If there's another way I should report this, I'd be glad to hear.
> Hope this helps.
>
> Regards,
> Walt Mendenhall
> (US) 303 960 5841
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
--
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Université de Sherbrooke
More information about the Speex-dev
mailing list