Commit 22058b9b authored by Warren Dukes's avatar Warren Dukes

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
parent 4cfa17c8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment