diff qdrw.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/qdrw.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/qdrw.c	Sun Oct 01 05:09:20 2006 +0000
@@ -136,7 +136,7 @@
 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;
     }