Commit b31c5cd8 authored by conrad's avatar conrad

add unused be_16 to oggz_byteorder.h for completeness (from tools)


git-svn-id: http://svn.annodex.net/liboggz/trunk@1091 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 347936fb
......@@ -61,6 +61,19 @@ _le_32 (ogg_uint32_t i)
return ret;
}
#ifdef _UNUSED_
static unsigned short
_be_16 (unsigned short s)
{
unsigned short ret=s;
#ifndef WORDS_BIGENDIAN
ret = (s>>8) & 0x00ffU;
ret += (s<<8) & 0xff00U;
#endif
return ret;
}
#endif /* _UNUSED_ */
static ogg_uint32_t
_be_32 (ogg_uint32_t i)
{
......
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