aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-22 21:14:41 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-22 21:14:41 +0000
commit22058b9b61c836191376697fc8b799542f83a3aa (patch)
tree10d281dc9f79383fdbbe92b4ff9fb579dddd4014
parent4cfa17c86044364ac8a7fa982ee817306adafaf8 (diff)
downloadmpd-22058b9b61c836191376697fc8b799542f83a3aa.tar.gz
mpd-22058b9b61c836191376697fc8b799542f83a3aa.tar.xz
mpd-22058b9b61c836191376697fc8b799542f83a3aa.zip
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
-rw-r--r--src/flac_decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flac_decode.c b/src/flac_decode.c
index 7118f9f6b..45ccb27b6 100644
--- a/src/flac_decode.c
+++ b/src/flac_decode.c
@@ -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);