Hi there, I have come across three problems with lame 3.95.1. (I use the the Fedora Linux 1 RPM from freshrpms.net.)
(1) I have a program in C that uses encoding functions from libmp3lame.so. Configuration is done by: lame_set_in_samplerate(gf, 8000); lame_set_num_channels(gf, 1); lame_set_disable_reservoir(gf, 1); lame_set_bWriteVbrTag(gf, 0); lame_set_scale(gf, config->scale); When encoding a 8 kHz bitstream, I sometimes get: strange error flushing buffer ... Internal buffer inconsistency. flushbits <> ResvSize.Error: MAX_HEADER_BUF too small in bitstream.c However, I never got that problem with 16 kHz. This problem definetly was not present in 3.93.1 (same code from my side). (2) lame --vbr-new sineWithNoise.wav with attached sineWithNoise.wav segfaults in quantize_xrpow(). (3) Possibly related, if using lame with the memory checking tool "valgrind" (http://valgrind.kde.org/), I get the following warnings: =26998== Use of uninitialised value of size 8 ==26998== at 0x7F0BC7: L3psycho_anal_ns (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Use of uninitialised value of size 8 ==26998== at 0x7F0BD5: L3psycho_anal_ns (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Use of uninitialised value of size 8 ==26998== at 0x7F3FC1: convert_partition2scalefac_l (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Use of uninitialised value of size 8 ==26998== at 0x7F3FE0: convert_partition2scalefac_l (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Use of uninitialised value of size 8 ==26998== at 0x7F3FF0: convert_partition2scalefac_l (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Use of uninitialised value of size 8 ==26998== at 0x7F3FF3: convert_partition2scalefac_l (in /usr/lib/libmp3lame.so.0.0.0) ==26998== ==26998== Conditional jump or move depends on uninitialised value(s) ==26998== at 0x7F4470: block_type_set (in /usr/lib/libmp3lame.so.0.0.0) Regards - Peter
_______________________________________________ mp3encoder mailing list [EMAIL PROTECTED] http://minnie.tuhs.org/mailman/listinfo/mp3encoder
