File hydrogen-flac-1.1.4-fix.diff of Package hydrogen
--- src/lib/FLACFile.cpp-dist 2007-04-16 10:31:31.000000000 +0200
+++ src/lib/FLACFile.cpp 2007-04-16 10:51:46.000000000 +0200
@@ -164,14 +164,13 @@
}
set_metadata_ignore_all();
- set_filename( sFilename.c_str() );
+ ::FLAC__StreamDecoderInitStatus s = init( sFilename.c_str() );
- State s=init();
- if( s != FLAC__FILE_DECODER_OK ) {
+ if( s != FLAC__STREAM_DECODER_INIT_STATUS_OK ) {
errorLog( "[load] Error in init()" );
}
- if ( process_until_end_of_file() == false ) {
+ if ( process_until_end_of_stream() == false ) {
errorLog( "[load] Error in process_until_end_of_file()" );
}
}