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/qdrw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/qdrw.c') diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 8463659174..6348161618 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -136,7 +136,7 @@ static int decode_frame(AVCodecContext *avctx, static int decode_init(AVCodecContext *avctx){ // QdrawContext * const a = avctx->priv_data; - 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