Mercurial > SDL_sound_CoreAudio
changeset 513:006e3d6cd2fe
Patch to get mpglib going again, from Sam.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 12 May 2006 14:43:27 +0000 |
parents | 8d0c21795258 |
children | 6c4f29fc3d87 |
files | CHANGELOG decoders/mpglib.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Fri Mar 31 07:21:52 2006 +0000 +++ b/CHANGELOG Fri May 12 14:43:27 2006 +0000 @@ -2,6 +2,7 @@ * CHANGELOG. */ +05122005 - Patched to get mpglib compiling again (thanks, Sam!). 03312005 - Wedged in a temporary hack for Speex rewinding. 12172005 - Fixed gcc4 whining in playsound_simple.c. 12062005 - Trimmed a bunch of junk out of the build system, and now it works
--- a/decoders/mpglib.c Fri Mar 31 07:21:52 2006 +0000 +++ b/decoders/mpglib.c Fri May 12 14:43:27 2006 +0000 @@ -226,7 +226,7 @@ { if (mpg->outleft > 0) { - Uint16 cpysize = internal->buffer_size - bw; + size_t cpysize = internal->buffer_size - bw; if (cpysize > mpg->outleft) cpysize = mpg->outleft; memcpy(((Uint8 *) internal->buffer) + bw,