* compile PNG only when ZLIB is available

Originally committed as revision 1609 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zdenek Kabelac
2003-02-27 17:32:56 +00:00
parent 2ec23b6d44
commit 3a13f6bd48
3 changed files with 6 additions and 0 deletions

View File

@@ -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);