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/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/tscc.c') diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 19edf3b2ed..b4d3c9d613 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -264,7 +264,7 @@ static int decode_init(AVCodecContext *avctx) c->pic.data[0] = NULL; 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; } -- cgit v1.2.3