potential fix for CompBrain's segfault, i could test it if he ever gave me

a broken flac file

git-svn-id: https://svn.musicpd.org/mpd/trunk@877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-04-22 21:14:41 +00:00
parent 4cfa17c860
commit 22058b9b61
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ void flacPlayFile(char *file, Buffer * cb, AudioFormat * af,
dc->seek = 0;
}
}
FLAC__file_decoder_process_until_end_of_file(flacDec);
/* I don't think we need this bit here! -shank */
/*FLAC__file_decoder_process_until_end_of_file(flacDec);*/
if(!dc->stop) {
flacPrintErroredState(FLAC__file_decoder_get_state(flacDec),
file);