Add new decoder property max_lowres and do not init decoder if requested value is...
[ffmpeg.git] / libavcodec / pngdec.c
index 03859a9..a00c284 100644 (file)
@@ -667,5 +667,6 @@ AVCodec png_decoder = {
     decode_frame,
     CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
     NULL,
+    .max_lowres = 5,
     .long_name = NULL_IF_CONFIG_SMALL("PNG image"),
 };