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/mmvideo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/mmvideo.c') diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c index 6dc95589c6..596ca7aec4 100644 --- a/libavcodec/mmvideo.c +++ b/libavcodec/mmvideo.c @@ -58,9 +58,6 @@ static av_cold int mm_decode_init(AVCodecContext *avctx) avctx->pix_fmt = PIX_FMT_PAL8; - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height)) - return -1; - s->frame.reference = 1; if (avctx->get_buffer(avctx, &s->frame)) { av_log(s->avctx, AV_LOG_ERROR, "mmvideo: get_buffer() failed\n"); -- cgit v1.2.3