*/
#include "avcodec.h"
#include "bytestream.h"
+#include "dsputil.h"
#include "png.h"
-#include <dsputil.h>
/* TODO:
* - add 2, 4 and 16 bit depth support
png_enc_init,
encode_frame,
NULL, //encode_end,
- .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, -1},
+ .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_NONE},
+ .long_name= NULL_IF_CONFIG_SMALL("PNG image"),
};