diff options
author | Roine Gustafsson <roine@users.sourceforge.net> | 2005-05-10 20:39:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-10 20:39:11 +0000 |
commit | 983ea0bc870abf651531d04f294e975cf837b8c2 (patch) | |
tree | b8b183b7747fb92b9ab7870129ddb0ecb1a956ba /libavcodec/png.c | |
parent | 33f725723f525357861abb4b3be8de250b6a7393 (diff) | |
download | ffmpeg-983ea0bc870abf651531d04f294e975cf837b8c2.tar.gz |
a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r-- | libavcodec/png.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c index 637a229171..fd555ae8cd 100644 --- a/libavcodec/png.c +++ b/libavcodec/png.c @@ -934,6 +934,7 @@ AVCodec png_decoder = { NULL }; +#ifdef CONFIG_PNG_ENCODER AVCodec png_encoder = { "png", CODEC_TYPE_VIDEO, @@ -944,4 +945,5 @@ AVCodec png_encoder = { NULL, //encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, -1}, }; +#endif // CONFIG_PNG_ENCODER #endif |