On Wed, 28 Nov 2007 17:11:21 +0000
mike <[EMAIL PROTECTED]> wrote: 

> i have this error while i try to compiling the svn version 0.9.3:

Your flac is new. I sent a patch to this list that fixes it, here it
is again. It should work for you.

BTW, you put hydrogen in the dir stupid-tools/ ?!? I wonder why I am even
responding! ;)

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 );
 	}
 }
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to