Skip to content

Commit

Permalink
Fixed dropping overflow data in the FLAC player
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 1, 2012
1 parent ba19e96 commit 3eb27f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music_flac.c
Expand Up @@ -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;

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 3eb27f0

Please sign in to comment.