1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../hydrogen/flac-113.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- hydrogen-0.9.3/src/lib/FLACFile.cpp_orig 2007-03-14 13:07:58.000000000 +0100
18 +++ hydrogen-0.9.3/src/lib/FLACFile.cpp 2007-03-14 13:13:39.000000000 +0100
22 set_metadata_ignore_all();
23 - set_filename( sFilename.c_str() );
26 - if( s != FLAC__FILE_DECODER_OK ) {
27 + FLAC__StreamDecoderInitStatus s=init(sFilename.c_str() );
28 + if(s!=FLAC__STREAM_DECODER_INIT_STATUS_OK) {
29 errorLog( "[load] Error in init()" );
32 - if ( process_until_end_of_file() == false ) {
33 + if ( process_until_end_of_stream() == false ) {
34 errorLog( "[load] Error in process_until_end_of_file()" );