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:
		@@ -115,7 +115,8 @@ void flacPlayFile(char *file, Buffer * cb, AudioFormat * af,
 | 
				
			|||||||
			dc->seek = 0;
 | 
								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) {
 | 
						if(!dc->stop) {
 | 
				
			||||||
		flacPrintErroredState(FLAC__file_decoder_get_state(flacDec),
 | 
							flacPrintErroredState(FLAC__file_decoder_get_state(flacDec),
 | 
				
			||||||
				file);
 | 
									file);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user