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/allformats.c | |
parent | 2ec23b6d44313a2f8a69120e46369b801a5cce38 (diff) | |
download | ffmpeg-streaming-3a13f6bd48be7774d16e6b82df7e96aaaf1d71f5.zip ffmpeg-streaming-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/allformats.c')
-rw-r--r-- | libavformat/allformats.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 6303dc2..cd80136 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -75,7 +75,9 @@ void av_register_all(void) av_register_image_format(&ppm_image_format); av_register_image_format(&pgmyuv_image_format); av_register_image_format(&yuv_image_format); +#ifdef CONFIG_ZLIB av_register_image_format(&png_image_format); +#endif av_register_image_format(&jpeg_image_format); av_register_image_format(&gif_image_format); |