Remove lowres support from wmv2 decoder
authorami_stuff <ami_stuff@o2.pl>
Thu, 28 Apr 2011 23:20:10 +0000 (01:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 May 2011 02:38:22 +0000 (04:38 +0200)
lowres option crashes with wmv2 files which I have for test,
so I think it's better to remove the support to the time when
lowres will be really supported by this codec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmv2dec.c

index 78aee3d..21d1eec 100644 (file)
@@ -480,7 +480,6 @@ AVCodec ff_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,
 };