# HG changeset patch # User kostya # Date 1159679360 0 # Node ID 9b75ab171fa9cfc90c19103aa260f136eb4388c9 # Parent 81638b2fbeba8e4cd4bb3793eb1e4ce06493ea0a 1l: correct argument order in avcodec_check_dimensions diff -r 81638b2fbeba -r 9b75ab171fa9 qdrw.c --- 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; } diff -r 81638b2fbeba -r 9b75ab171fa9 smacker.c --- a/smacker.c Sat Sep 30 23:49:09 2006 +0000 +++ b/smacker.c Sun Oct 01 05:09:20 2006 +0000 @@ -520,7 +520,7 @@ c->pic.data[0] = NULL; - if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { + if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { return 1; } diff -r 81638b2fbeba -r 9b75ab171fa9 truemotion2.c --- 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)){ diff -r 81638b2fbeba -r 9b75ab171fa9 tscc.c --- a/tscc.c Sat Sep 30 23:49:09 2006 +0000 +++ b/tscc.c Sun Oct 01 05:09:20 2006 +0000 @@ -264,7 +264,7 @@ 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; } diff -r 81638b2fbeba -r 9b75ab171fa9 vmnc.c --- a/vmnc.c Sat Sep 30 23:49:09 2006 +0000 +++ b/vmnc.c Sun Oct 01 05:09:20 2006 +0000 @@ -467,7 +467,7 @@ 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; diff -r 81638b2fbeba -r 9b75ab171fa9 zmbv.c --- a/zmbv.c Sat Sep 30 23:49:09 2006 +0000 +++ b/zmbv.c Sun Oct 01 05:09:20 2006 +0000 @@ -616,7 +616,7 @@ 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;