On Tue, 17 Jul 2007 15:19:27 +0200
alessandro <[EMAIL PROTECTED]> wrote: 

> I got an error message while compiling the latest 0.9.4 (and older
> 0.9.3) svn release and the process aborts without compiling.

Attached is a patch that fixes it. Works for me!

best regards

Paul


-- 
It isn't worth a nickle to two guys like you or me, 
but to a collector it is worth a fortune 
--- libs/hydrogen/src/FLACFile.cpp.orig	2006-09-11 11:45:48.000000000 +0100
+++ libs/hydrogen/src/FLACFile.cpp	2007-08-06 11:43:33.000000000 +0100
@@ -161,14 +161,13 @@
 	}
 
 	set_metadata_ignore_all();
-	set_filename( sFilename.c_str() );
 
-	State s=init();
-	if( s != FLAC__FILE_DECODER_OK ) {
+	FLAC__StreamDecoderInitStatus s = init(sFilename.c_str());
+	if( s != FLAC__STREAM_DECODER_INIT_STATUS_OK ) {
 		ERRORLOG( "Error in init()" );
 	}
 
-	if ( process_until_end_of_file() == false ) {
+	if ( process_until_end_of_stream() == false ) {
 		ERRORLOG( "Error in process_until_end_of_file(). Filename: " + m_sFilename );
 	}
 }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to