GNOME Bugzilla – Bug 326602
id3demux is not compiling without ZLIB
Last modified: 2006-01-15 20:24:49 UTC
id3demux plugin (id3v2frames.c) is not compiling without ZLIB: uLongf - undeclared identifier Bytef - undeclared identifier Z_OK - undeclared identifier ... Actually there are two ways of fixing this. 1. Remove #ifdef HAVE_ZLIB from the top of the source file and make ZLIB a requirement for this plugin. 2. Apply the patch below to fix compilation and report that compressed frames could not be processed if plugin is compiled without ZLIB. The same is done now for Encrypted frames.
Created attachment 57156 [details] [review] patch for fixing id3v2frames.c compilation without ZLIB
Comment on attachment 57156 [details] [review] patch for fixing id3v2frames.c compilation without ZLIB Please correct user message because I'm afraid it's not a clean English.
Thanks for the patch. I've applied it locally (and changed the warning message), but I can't commit just yet because gst-plugins-good is frozen for release. I'll commit it tomorrow.
A bit later than 'tomorrow', but got there in the end. Fixed in CVS: * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame): Fix compilation of id3demux when zlib is not present. (Fixes #326602; patch by: Sergey Scobich)