Fixed some logic on the 1.0.3->1.0.4 compatibility
authorDavid Schleef <ds@schleef.org>
Mon, 14 Oct 2002 07:47:42 +0000 (07:47 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 14 Oct 2002 07:47:42 +0000 (07:47 +0000)
Original commit message from CVS:
Fixed some logic on the 1.0.3->1.0.4 compatibility

ext/flac/flac_compat.h

index 9e7f38025b85ca793fdb2b9fc04024bb31a15988..0635925271fa5e145527f665e223090daa64e678 100644 (file)
@@ -13,7 +13,7 @@
 /* FIXME when there's a autoconf symbol */
 #ifndef FLAC_VERSION
 
-#ifdef FLAC__STREAM_ENCODER_OK
+#ifndef FLAC__STREAM_ENCODER_WRITE_OK
 #define FLAC_VERSION 0x010004
 #else
 #ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE