Recent changes to LAME on CVS have broken stdout on OS/2, some one please
make the following changes:

in main.c around line 44, change:

  /* open the MP3 output file */
  if (!strcmp(gf->outPath, "-")) {
    outf = stdout;
  } else {

to:

  /* open the MP3 output file */
  if (!strcmp(gf->outPath, "-")) {
#ifdef __EMX__
    _fsetmode(stdout,"b");
#endif
    outf = stdout;
  } else {




in mp3rtp.c around line 117 change:

  /* open the output file.  Filename parsed into gf->inPath */
  if (!strcmp(gf->outPath, "-")) {
    outf = stdout;
  } else {

to:

  /* open the output file.  Filename parsed into gf->inPath */
  if (!strcmp(gf->outPath, "-")) {
#ifdef __EMX__
    _fsetmode(stdout,"b");
#endif
    outf = stdout;
  } else {




Thanks,
Paul


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

Reply via email to