Mercurial > libavcodec.hg
comparison pngdec.c @ 12108:c35d7bc64882 libavcodec
Add new decoder property max_lowres and do not init decoder if requested value is higher.
author | cehoyos |
---|---|
date | Wed, 07 Jul 2010 21:23:36 +0000 |
parents | aef934aa4787 |
children | 8b28e74de2c0 |
comparison
equal
deleted
inserted
replaced
12107:1e4996a88ca5 | 12108:c35d7bc64882 |
---|---|
665 NULL, | 665 NULL, |
666 png_dec_end, | 666 png_dec_end, |
667 decode_frame, | 667 decode_frame, |
668 CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, | 668 CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, |
669 NULL, | 669 NULL, |
670 .max_lowres = 5, | |
670 .long_name = NULL_IF_CONFIG_SMALL("PNG image"), | 671 .long_name = NULL_IF_CONFIG_SMALL("PNG image"), |
671 }; | 672 }; |