comparison sp5xdec.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 7dd2a45249a9
children ce660f4bda0d
comparison
equal deleted inserted replaced
12107:1e4996a88ca5 12108:c35d7bc64882
202 NULL, 202 NULL,
203 ff_mjpeg_decode_end, 203 ff_mjpeg_decode_end,
204 sp5x_decode_frame, 204 sp5x_decode_frame,
205 CODEC_CAP_DR1, 205 CODEC_CAP_DR1,
206 NULL, 206 NULL,
207 .max_lowres = 5,
207 .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), 208 .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
208 }; 209 };
209 210
210 AVCodec amv_decoder = { 211 AVCodec amv_decoder = {
211 "amv", 212 "amv",