# HG changeset patch # User Ryan C. Gordon # Date 1060078040 0 # Node ID c98a34c000691db59d8610100968af43f4e7a656 # Parent ce8937e44e7af1fcc8f3776552db584d0bd91233 Fixed MIDI decoding on bigendian systems. diff -r ce8937e44e7a -r c98a34c00069 decoders/timidity/instrum.c --- a/decoders/timidity/instrum.c Mon Mar 10 22:44:59 2003 +0000 +++ b/decoders/timidity/instrum.c Tue Aug 05 10:07:20 2003 +0000 @@ -420,7 +420,7 @@ Sint16 *tmp=(Sint16 *)sp->data,s; while (i--) { - s=SDL_SwapLE32(*tmp); + s=SDL_SwapLE16(*tmp); *tmp++=s; } }