Index: ./gst-plugins-good/gst/id3demux/id3v2frames.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/id3demux/id3v2frames.c,v
retrieving revision 1.2
diff -u -r1.2 id3v2frames.c
--- ./gst-plugins-good/gst/id3demux/id3v2frames.c	6 Jan 2006 11:46:53 -0000	1.2
+++ ./gst-plugins-good/gst/id3demux/id3v2frames.c	11 Jan 2006 14:16:16 -0000
@@ -92,6 +92,7 @@
     work->parse_size = frame_data_size;
 
   if (work->frame_flags & ID3V2_FRAME_FORMAT_COMPRESSION) {
+#ifdef HAVE_ZLIB
     uLongf destSize = work->parse_size;
     Bytef *dest, *src;
 
@@ -105,6 +106,11 @@
       g_free (work->parse_data);
       return FALSE;
     }
+#else
+    GST_WARNING ("Compressed ID3v2 frame was found, could not decompress"
+		" it because ligstid3demux was compiled without zlib support");
+	return FALSE;
+#endif
   } else {
     work->parse_data = work->hdr.frame_data;
   }
