OSDN Git Service

Remove lowres support from png decoder
authorami_stuff <ami_stuff@o2.pl>
Thu, 28 Apr 2011 21:45:24 +0000 (23:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Apr 2011 23:29:19 +0000 (01:29 +0200)
The lowres support doesn't work correctly (crops the video), so let's remove it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c

index e2fec93..1199bd5 100644 (file)
@@ -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"),
 };