changeset 2343:d8d2d1b01dfe libavcodec

10l (CONFIG_ZLIB)
author michael
date Thu, 11 Nov 2004 10:33:11 +0000
parents 8b6668325ff8
children f09680c5e8f4
files allcodecs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/allcodecs.c	Tue Nov 09 23:31:46 2004 +0000
+++ b/allcodecs.c	Thu Nov 11 10:33:11 2004 +0000
@@ -74,7 +74,9 @@
 #endif
     register_avcodec(&mjpeg_encoder);
     register_avcodec(&ljpeg_encoder);
+#ifdef CONFIG_ZLIB
     register_avcodec(&png_encoder);
+#endif
     register_avcodec(&huffyuv_encoder);
     register_avcodec(&asv1_encoder);
     register_avcodec(&asv2_encoder);
@@ -127,7 +129,9 @@
     register_avcodec(&mjpeg_decoder);
     register_avcodec(&mjpegb_decoder);
     register_avcodec(&sp5x_decoder);
+#ifdef CONFIG_ZLIB
     register_avcodec(&png_decoder);
+#endif
     register_avcodec(&mp2_decoder);
     register_avcodec(&mp3_decoder);
     register_avcodec(&mace3_decoder);