Remove lowres support from wmv2 decoder

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>
pull/2/head
ami_stuff 14 years ago committed by Michael Niedermayer
parent 2525821f1a
commit c402ce418a
  1. 1
      libavcodec/wmv2dec.c

@ -480,7 +480,6 @@ AVCodec ff_wmv2_decoder = {
wmv2_decode_end, wmv2_decode_end,
ff_h263_decode_frame, ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
.pix_fmts= ff_pixfmt_list_420, .pix_fmts= ff_pixfmt_list_420,
}; };

Loading…
Cancel
Save