From 3eb27f058ea058ee176af034df8f23f137d00c36 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 31 Dec 2011 19:11:52 -0500 Subject: [PATCH] Fixed dropping overflow data in the FLAC player --- music_flac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/music_flac.c b/music_flac.c index 8c9a4545..3f10e220 100644 --- a/music_flac.c +++ b/music_flac.c @@ -411,7 +411,7 @@ static void FLAC_getsome(FLAC_music *music) { SDL_AudioCVT *cvt; - /* GET AUDIO wAVE DATA */ + /* GET AUDIO WAVE DATA */ // set the max number of characters to read music->flac_data.max_to_read = 8192; @@ -444,7 +444,7 @@ static void FLAC_getsome(FLAC_music *music) free (music->flac_data.overflow); music->flac_data.overflow = new_overflow; music->flac_data.overflow_len = overflow_extra_len; - music->flac_data.overflow_read = 0; + music->flac_data.overflow_read = overflow_extra_len; music->flac_data.max_to_read = 0; } else {