[xiph-commits] r11726 - trunk/speex/src
jm at svn.xiph.org
jm at svn.xiph.org
Tue Aug 1 20:30:02 PDT 2006
Author: jm
Date: 2006-08-01 20:29:59 -0700 (Tue, 01 Aug 2006)
New Revision: 11726
Modified:
trunk/speex/src/speexdec.c
Log:
Fixing Ticket #829 (defect): crash on invalid Speex file.
Modified: trunk/speex/src/speexdec.c
===================================================================
--- trunk/speex/src/speexdec.c 2006-07-30 15:06:42 UTC (rev 11725)
+++ trunk/speex/src/speexdec.c 2006-08-02 03:29:59 UTC (rev 11726)
@@ -732,7 +732,7 @@
}
- if (wav_format)
+ if (fout && wav_format)
{
if (fseek(fout,4,SEEK_SET)==0)
{
More information about the commits
mailing list