[Speex-dev] Segmentation fault in narrowband and wideband mode
Björn Thalheim
s9268716 at mail.inf.tu-dresden.de
Fri Aug 26 07:22:09 PDT 2005
Hello,
playing a little around with speexenc/speexdec, I discovered that if
I pass the "-n" or "-w" command line option to speexenc (version
1.1.10), I get a segmentation fault.
Looking closely at the code, I found that the line:
fprintf (stderr, "Warning: Trying to encode in %s at %d Hz.
I'll do it but I suggest you try ultra-wideband instead\n",
mode->modeName , rate);
causes this segmentation fault, because commenting it out (you find
the line in speexenc.c after the check if it's a wav-file, if you
follow the conditions: if (modeID!=-1 && rate), if (rate>25000), if
(modeID != SPEEX_MODEID_UWB)) makes the encoding run through.
Does anybody else have this problem? Or is that just my computer?
Thanks,
Björn
--
Important! Please recognize my new GPG Public Key!
Björn Thalheim
gpg fingerprint: 0A29 87E7 B4BE 8EFC 1063 EF09 9096 FA4B DF0C 6701
download key: wget http://www.ifsr.de/~bjoern/gpg/public_key.asc
See also: http://www.ifsr.de/~bjoern/gpg/key.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050826/fbd524c7/signature.pgp
More information about the Speex-dev
mailing list