Skip to content
Permalink
Browse files

Fixed dropping overflow data in the FLAC player

  • Loading branch information
slouken committed Jan 1, 2012
1 parent ba19e96 commit 3eb27f058ea058ee176af034df8f23f137d00c36
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 {

0 comments on commit 3eb27f0

Please sign in to comment.