Mercurial > libavcodec.hg
diff truemotion2.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 | 710cf96d899b |
children | 136334ad62b3 |
line wrap: on
line diff
--- a/truemotion2.c Tue Oct 13 18:31:22 2009 +0000 +++ b/truemotion2.c Tue Oct 13 20:13:28 2009 +0000 @@ -813,9 +813,6 @@ TM2Context * const l = avctx->priv_data; int i; - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { - return -1; - } if((avctx->width & 3) || (avctx->height & 3)){ av_log(avctx, AV_LOG_ERROR, "Width and height must be multiple of 4\n"); return -1;