From 658296e3447264138e7b67664ada4b3de37d4843 Mon Sep 17 00:00:00 2001 From: ami_stuff Date: Thu, 28 Apr 2011 23:45:24 +0200 Subject: [PATCH] Remove lowres support from png decoder The lowres support doesn't work correctly (crops the video), so let's remove it. Signed-off-by: Michael Niedermayer --- libavcodec/pngdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index e2fec93f8f..1199bd5412 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -659,6 +659,5 @@ AVCodec ff_png_decoder = { decode_frame, CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, NULL, - .max_lowres = 5, .long_name = NULL_IF_CONFIG_SMALL("PNG image"), };