MoiN

I get his error when I try to encode with the option --noshort (at least
with lame 3.59 up to latest CVS-Version):

LAME version 3.60 (www.sulaco.org/mp3) 
GPSYCHO: GPL psycho-acoustic model version 0.75. 
lame: unrec option --noshort

I checked the option processing in lame.c and found, that this option is
never checked for. You can aply the following patch to get "--noshort"
working:

--- lame.c      Thu Jan 13 14:23:45 2000
+++ lame.c.new  Thu Jan 13 14:42:12 2000
@@ -257,8 +257,11 @@
        else if (strcmp(token, "voice")==0) {
          gf.voice_mode=1;
          gf.no_short_blocks=1;
        }
+       else if (strcmp(token, "noshort")==0) {
+         gf.no_short_blocks=1;
+       }
        else if (strcmp(token, "noath")==0) {
          gf.noATH=1;
        }
        else if (strcmp(token, "nores")==0) {

By looking at this patch I wonder if "--voice" should set
gf.no_short_blocks=1, too?

    Ingo
--
Not bad but bad enough...
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to