From 514a9684972102eccf5a8a85c65febcc3966e21f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 3 Feb 2007 11:06:40 +0000 Subject: =?UTF-8?q?Fix=20for=20libflac=20<1.1.3,=20thanks=20to=20Ville=20S?= =?UTF-8?q?kytt=C3=A4=20for=20reporting,=20closes=20bug=20#1627321.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVS patchset: 8586 CVS date: 2007/02/03 11:06:40 --- src/libflac/decoder_flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libflac/decoder_flac.c b/src/libflac/decoder_flac.c index 095555e1d..9b77cc27d 100644 --- a/src/libflac/decoder_flac.c +++ b/src/libflac/decoder_flac.c @@ -363,7 +363,7 @@ open_plugin (audio_decoder_class_t *class_gen, xine_stream_t *stream) { FLAC__stream_decoder_set_client_data (this->flac_decoder, this); - if (FLAC__stream_decoder_init (this->flac_decoder) == FLAC__STREAM_DECODER_SEARCH_FOR_METADATA) { + if (FLAC__stream_decoder_init (this->flac_decoder) != FLAC__STREAM_DECODER_SEARCH_FOR_METADATA) { free (this); return NULL; } -- cgit v1.2.3