[vlc-devel] [patch] libpng backward compatibility

DS vlc at schmaller.de
Mon May 8 16:48:02 CEST 2006


Hi,
i recognised a compile error in modules/codec/png.c
It was because "png_infopp_NULL" is not defined in png.h before version 1.2.0.
As libpng is not in the list of requirements, i propose to replace this symbol by
"(png_infopp)NULL" (alternative 1) or to check against the appropiate libpng version (alternative 2).
Best regards,
Daniel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: png_compat_alt1.patch
Type: text/x-patch
Size: 846 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060508/e870ebb1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: png_compat_alt2.patch
Type: text/x-patch
Size: 1077 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060508/e870ebb1/attachment-0001.bin>


More information about the vlc-devel mailing list