mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-18 08:51:24 +00:00
fix endianness check in ogg code
This commit is contained in:
parent
1fe91caf69
commit
ca48cae13b
1 changed files with 1 additions and 5 deletions
|
@ -369,11 +369,7 @@ int S_OGG_CodecReadStream(snd_stream_t *stream, int bytes, void *buffer)
|
|||
int BS = 0;
|
||||
|
||||
// big endian machines want their samples in big endian order
|
||||
int IsBigEndian = 0;
|
||||
|
||||
# ifdef Q3_BIG_ENDIAN
|
||||
IsBigEndian = 1;
|
||||
# endif // Q3_BIG_ENDIAN
|
||||
int IsBigEndian = bigendien;
|
||||
|
||||
// check if input is valid
|
||||
if(!(stream && buffer))
|
||||
|
|
Loading…
Reference in a new issue