[xiph-cvs] cvs commit: vorbis/lib vorbisfile.c

Jack Moffitt jack at xiph.org
Thu Dec 13 16:30:34 PST 2001



jack        01/12/13 16:30:34

  Modified:    lib      vorbisfile.c
  Log:
  rambokid noticed that we were exporting host_is_big_endian() accidentally
  and that codec_internal.h was no longer necessary.

Revision  Changes    Path
1.53      +2 -3      vorbis/lib/vorbisfile.c

Index: vorbisfile.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/vorbisfile.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- vorbisfile.c	2001/12/12 09:45:26	1.52
+++ vorbisfile.c	2001/12/14 00:30:33	1.53
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: stdio-based convenience library for opening/seeking/decoding
- last mod: $Id: vorbisfile.c,v 1.52 2001/12/12 09:45:26 xiphmont Exp $
+ last mod: $Id: vorbisfile.c,v 1.53 2001/12/14 00:30:33 jack Exp $
 
  ********************************************************************/
 
@@ -25,7 +25,6 @@
 #include "vorbis/vorbisfile.h"
 
 #include "os.h"
-#include "codec_internal.h"
 #include "misc.h"
 
 /* A 'chained bitstream' is a Vorbis bitstream that contains more than
@@ -1336,7 +1335,7 @@
   }
 }
 
-int host_is_big_endian() {
+static int host_is_big_endian() {
   ogg_int32_t pattern = 0xfeedface; /* deadbeef */
   unsigned char *bytewise = (unsigned char *)&pattern;
   if (bytewise[0] == 0xfe) return 1;

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list