Commit 5cf35762 authored by Jack Moffitt's avatar Jack Moffitt
Browse files

rambokid noticed that we were exporting host_is_big_endian() accidentally

and that codec_internal.h was no longer necessary.

svn path=/trunk/vorbis/; revision=2605
parent 66995d89
......@@ -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 @@ vorbis_comment *ov_comment(OggVorbis_File *vf,int link){
}
}
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment