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/sp5xdec.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/sp5xdec.c')
-rw-r--r-- | libavcodec/sp5xdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c index 754926a4ce..b047f9c7af 100644 --- a/libavcodec/sp5xdec.c +++ b/libavcodec/sp5xdec.c @@ -204,6 +204,7 @@ AVCodec sp5x_decoder = { sp5x_decode_frame, CODEC_CAP_DR1, NULL, + .max_lowres = 5, .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), }; |