Mat wrote:
> > From: Sergey A. Maslyakov [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 23, 1999 7:13 AM
> > To: Mark Taylor
> > Subject: Re: [MP3 ENCODER] lame 3.29
> > 
> > 
> > MT> lame input.mp3 output.mp3
> > MT> will decode input.mp3 (with mpglib/mpg123) and then re-encode it.
> >   In my case (lame3.29/win32 compiled using guidelines by Mathew
> >   Hendry) it just crashes. However, it writes some data on disk
> >   (16'590 bytes in this case).
> 
> MSVC's open/read/close functions appear to be broken. Quick fix:

When I built MP3x with Cygwin GCC + Gtk for Win32,
a small fix was needed for read .mp3 file. 

in musicin.c line 558

    original_file_fd = open(inPath,O_RDONLY);

will be changed to

  #if defined(__CYGWIN__) /*|| defined(_WIN32)*/
    osriginal_file_fd = open(inPath,O_RDONLY|O_BINARY);
  #endif

I think this fix will success with MSVC.

---
Iwasa Kazmi
[EMAIL PROTECTED]

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to