Mercurial > libavcodec.hg
diff qdrw.c @ 10397:d7ed9dcc78e3 libavcodec
Remove unnecessary calls to avcodec_check_dimensions, the check is already
done at a higher level.
author | reimar |
---|---|
date | Tue, 13 Oct 2009 20:13:28 +0000 |
parents | 54bc8a2727b0 |
children | 136334ad62b3 |
line wrap: on
line diff
--- a/qdrw.c Tue Oct 13 18:31:22 2009 +0000 +++ b/qdrw.c Tue Oct 13 20:13:28 2009 +0000 @@ -135,10 +135,6 @@ static av_cold int decode_init(AVCodecContext *avctx){ // QdrawContext * const a = avctx->priv_data; - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { - return 1; - } - avctx->pix_fmt= PIX_FMT_PAL8; return 0;