From 429914a330b17833adefcb1fbb9d07f0e858b1d5 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 1 Oct 2006 05:09:20 +0000 Subject: 1l: correct argument order in avcodec_check_dimensions Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/zmbv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/zmbv.c') diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index fdca4d2a28..005a5328b7 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -616,7 +616,7 @@ static int decode_init(AVCodecContext *avctx) c->width = avctx->width; c->height = avctx->height; - if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { + if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { return 1; } c->bpp = avctx->bits_per_sample; -- cgit v1.2.1