diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-27 17:32:56 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-27 17:32:56 +0000 |
commit | 3a13f6bd48be7774d16e6b82df7e96aaaf1d71f5 (patch) | |
tree | dd1a2d7a4aa74d4221859b2a50f2dbe6f6e386dc /libavformat/png.c | |
parent | 2ec23b6d44313a2f8a69120e46369b801a5cce38 (diff) | |
download | ffmpeg-3a13f6bd48be7774d16e6b82df7e96aaaf1d71f5.tar.gz |
* compile PNG only when ZLIB is available
Originally committed as revision 1609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/png.c')
-rw-r--r-- | libavformat/png.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/png.c b/libavformat/png.c index e4facf80fa..75d07ddcee 100644 --- a/libavformat/png.c +++ b/libavformat/png.c @@ -18,6 +18,7 @@ */ #include "avformat.h" +#ifdef CONFIG_ZLIB #include <zlib.h> //#define DEBUG @@ -563,3 +564,4 @@ AVImageFormat png_image_format = { (1 << PIX_FMT_RGB24) | (1 << PIX_FMT_GRAY8) | (1 << PIX_FMT_MONOBLACK) | (1 << PIX_FMT_PAL8), png_write, }; +#endif |