Howdy all,

Here's a nice bug.. lame 3.93 (and from the looks of it, every version before it..) identifies files based purely on the friggin suffix of the filename. World-class coding there, guys. (*chuckle*) .... Anyway, I've managed to control my laughter long enough to post a note about it.

How to reproduce the bug:

Step 1) Rip a track using cdparanoia or whatever.
Step 2) Rename the resulting .wav file to foo.MP3.
Step 3) Phone the neighbors, and wake the kids up.
Step 4) Try using lame to encode foo.MP3 to bar.mp3
Step 5) Watch lame cartwheel head-long into the crapper!


[10:25:14][medusa][~] root : lame -h foo.MP3 bar.mp3
Input file is freeformat.
LAME version 3.93 MMX (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), 3DNow! (ASM used)
Using polyphase lowpass filter, transition band: 15115 Hz - 15648 Hz
Encoding foo.MP3 to bar.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=2
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
bitstream problem: resyncing... : | 0:00/ : | x| :
0/3728272 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 bitstream problem: resyncing...
0/3728272 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 bitstream problem: resyncing...
0/3728272 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
Error: number of channels has changed in MP3 file - not supported
Error: sample frequency has changed in MP3 file - not supported
(...same messages repeated about 30 gazillion times...)

To further prove my point, rename foo.MP3 back to foo.wav, and lame encodes it without complaint.

Whoever is responsible for that piece of crap-code aught to be shot, hung, drawn, quartered, buried, dug up, their bones crushed into powder, the phosphorous extracted from them and used in fireworks that spell out painful insults directed at members of his immediate family.

Have a super day,
Bowie



_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to