Mercurial > libavformat.hg
comparison png.c @ 71:a803af1b10be libavformat
* compile PNG only when ZLIB is available
author | kabi |
---|---|
date | Thu, 27 Feb 2003 17:32:56 +0000 |
parents | 05be5bf0025e |
children | c1e67f7a0168 |
comparison
equal
deleted
inserted
replaced
70:e851fa232508 | 71:a803af1b10be |
---|---|
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 */ | 18 */ |
19 #include "avformat.h" | 19 #include "avformat.h" |
20 | 20 |
21 #ifdef CONFIG_ZLIB | |
21 #include <zlib.h> | 22 #include <zlib.h> |
22 | 23 |
23 //#define DEBUG | 24 //#define DEBUG |
24 | 25 |
25 #define PNG_COLOR_MASK_PALETTE 1 | 26 #define PNG_COLOR_MASK_PALETTE 1 |
561 png_probe, | 562 png_probe, |
562 png_read, | 563 png_read, |
563 (1 << PIX_FMT_RGB24) | (1 << PIX_FMT_GRAY8) | (1 << PIX_FMT_MONOBLACK) | (1 << PIX_FMT_PAL8), | 564 (1 << PIX_FMT_RGB24) | (1 << PIX_FMT_GRAY8) | (1 << PIX_FMT_MONOBLACK) | (1 << PIX_FMT_PAL8), |
564 png_write, | 565 png_write, |
565 }; | 566 }; |
567 #endif |