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/wmv2dec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/wmv2dec.c') diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index a9bb80cae4..c83f898d7f 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -494,6 +494,7 @@ AVCodec wmv2_decoder = { wmv2_decode_end, ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, + .max_lowres = 3, .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), .pix_fmts= ff_pixfmt_list_420, }; -- cgit v1.2.3