From 0fd0ef7947ad31b2e1b9506cb70d85dcfdf6cba6 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 7 Jul 2010 21:23:36 +0000 Subject: 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 --- libavcodec/sp5xdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/sp5xdec.c') 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)"), }; -- cgit v1.2.3