summaryrefslogtreecommitdiff
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2011-04-28 23:45:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-29 01:29:19 +0200
commit658296e3447264138e7b67664ada4b3de37d4843 (patch)
tree4b3dc5de7cdf4478624dd025e11c7c95341c8bc8 /libavcodec/pngdec.c
parent94da542546ca42b5b0de5d56e563ae145aa77eaf (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r--libavcodec/pngdec.c1
1 files changed, 0 insertions, 1 deletions
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"),
};