diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-07 21:23:36 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-07 21:23:36 +0000 |
commit | 0fd0ef7947ad31b2e1b9506cb70d85dcfdf6cba6 (patch) | |
tree | c79745bc17e836f9438ae968085c2997a5f8c3a5 /libavcodec/libopenjpeg.c | |
parent | 38b04109028fdeb4009f74e7467f90f3083a897a (diff) | |
download | ffmpeg-0fd0ef7947ad31b2e1b9506cb70d85dcfdf6cba6.tar.gz |
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
Diffstat (limited to 'libavcodec/libopenjpeg.c')
-rw-r--r-- | libavcodec/libopenjpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c index 0956da9c36..f85ec00150 100644 --- a/libavcodec/libopenjpeg.c +++ b/libavcodec/libopenjpeg.c @@ -193,5 +193,6 @@ AVCodec libopenjpeg_decoder = { libopenjpeg_decode_close, libopenjpeg_decode_frame, CODEC_CAP_DR1, + .max_lowres = 5, .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"), } ; |