Add new decoder property max_lowres and do not init decoder if requested value is higher.

Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos
2010-07-07 21:23:36 +00:00
parent 38b0410902
commit 0fd0ef7947
20 changed files with 39 additions and 2 deletions

View File

@ -345,5 +345,6 @@ AVCodec bmp_decoder = {
bmp_decode_end,
bmp_decode_frame,
CODEC_CAP_DR1,
.max_lowres = 5,
.long_name = NULL_IF_CONFIG_SMALL("BMP image"),
};