Dash:
[t2.git] / package / audio / hydrogen / flac-113.patch
blob5da09357f624fdfb46d9c1068ccc77fb08162a93
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../hydrogen/flac-113.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
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
19 @@ -164,14 +164,13 @@
22 set_metadata_ignore_all();
23 - set_filename( sFilename.c_str() );
25 - State s=init();
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()" );