diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-22 21:14:41 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-22 21:14:41 +0000 |
commit | 22058b9b61c836191376697fc8b799542f83a3aa (patch) | |
tree | 10d281dc9f79383fdbbe92b4ff9fb579dddd4014 /src/flac_decode.c | |
parent | 4cfa17c86044364ac8a7fa982ee817306adafaf8 (diff) | |
download | mpd-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
Diffstat (limited to 'src/flac_decode.c')
-rw-r--r-- | src/flac_decode.c | 3 |
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); |