From 4a49ab77c6bb2348992e1e70b14f2d1efaf7ddbb Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Tue, 13 Oct 2009 20:13:28 +0000 Subject: Remove unnecessary calls to avcodec_check_dimensions, the check is already done at a higher level. Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/v210dec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/v210dec.c') diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 08c954d88e..ceeccb6346 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -30,8 +30,6 @@ static av_cold int decode_init(AVCodecContext *avctx) av_log(avctx, AV_LOG_ERROR, "v210 needs even width\n"); return -1; } - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) - return -1; avctx->pix_fmt = PIX_FMT_YUV422P16; avctx->bits_per_raw_sample = 10; -- cgit v1.2.3