xine-lib/xine-lib-1.1.3-legacy-flac-init.patch
Ville Skyttä e5c2e5e219 * Wed Jan 3 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1.3-3
- Fix libflac decoder with FLAC < 1.1.3 (#220961).
- Apply upstream patch for FLAC >= 1.1.3.
2007-01-03 20:27:12 +00:00

17 lines
684 B
Diff

Index: src/libflac/decoder_flac.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libflac/decoder_flac.c,v
retrieving revision 1.22
diff -u -r1.22 decoder_flac.c
--- src/libflac/decoder_flac.c 25 Dec 2006 19:22:00 -0000 1.22
+++ src/libflac/decoder_flac.c 3 Jan 2007 19:58:07 -0000
@@ -363,7 +363,7 @@
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;
}