Mercurial > libavcodec.hg
diff truemotion2.c @ 3800:9b75ab171fa9 libavcodec
1l: correct argument order in avcodec_check_dimensions
author | kostya |
---|---|
date | Sun, 01 Oct 2006 05:09:20 +0000 |
parents | 0b546eab515d |
children | c8c591fe26f8 |
line wrap: on
line diff
--- a/truemotion2.c Sat Sep 30 23:49:09 2006 +0000 +++ b/truemotion2.c Sun Oct 01 05:09:20 2006 +0000 @@ -822,7 +822,7 @@ TM2Context * const l = avctx->priv_data; int i; - if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { + if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { return -1; } if((avctx->width & 3) || (avctx->height & 3)){