[vorbis-dev] macOS9 patches committed
Chris Hanson
cmh at bDistributed.com
Mon Aug 14 17:00:54 PDT 2000
Doh! I just built the version that's in CVS, and either I or Monty
(I'll assume it's my fault :) let a minor bug in
examples/decoder_example slip through.
Diff below; basically, just remove the redeclarations of argc and
argv in the Mac-specific code.
-- Chris
Index: vorbis/examples/decoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/decoder_example.c,v
retrieving revision 1.10
diff -c -2 -r1.10 decoder_example.c
*** vorbis/examples/decoder_example.c 2000/08/14 22:33:50 1.10
--- vorbis/examples/decoder_example.c 2000/08/15 00:01:26
***************
*** 64,70 ****
#if defined(macintosh) && defined(__MWERKS__)
- int argc = 0;
- char **argv = NULL;
-
argc = ccommand(&argv); /* get a "command line" from the Mac user */
/* this also lets the user set stdin and stdout */
--- 64,67 ----
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list