Rename SDL_Swap(16|32|64)(LE|BE) to SDL_Swap(LE|BE)(16|32|64)

This commit is contained in:
Anonymous Maarten
2024-06-12 01:08:19 +02:00
committed by Anonymous Maarten
parent ef6123886e
commit 32907a9606
18 changed files with 172 additions and 116 deletions

View File

@@ -1527,8 +1527,8 @@ static int WaveNextChunk(SDL_IOStream *src, WaveChunk *chunk)
return -1;
}
chunk->fourcc = SDL_SwapLE32(chunkheader[0]);
chunk->length = SDL_SwapLE32(chunkheader[1]);
chunk->fourcc = SDL_Swap32LE(chunkheader[0]);
chunk->length = SDL_Swap32LE(chunkheader[1]);
chunk->position = nextposition + 8;
return 0;