r6400 - in trunk/libavcodec: qdrw.c smacker.c truemotion2.c tscc.c vmnc.c zmbv.c
Author: kostya Date: Sun Oct 1 07:09:20 2006 New Revision: 6400 Modified: trunk/libavcodec/qdrw.c trunk/libavcodec/smacker.c trunk/libavcodec/truemotion2.c trunk/libavcodec/tscc.c trunk/libavcodec/vmnc.c trunk/libavcodec/zmbv.c Log: 1l: correct argument order in avcodec_check_dimensions Modified: trunk/libavcodec/qdrw.c ============================================================================== --- trunk/libavcodec/qdrw.c (original) +++ trunk/libavcodec/qdrw.c Sun Oct 1 07:09:20 2006 @@ -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; } Modified: trunk/libavcodec/smacker.c ============================================================================== --- trunk/libavcodec/smacker.c (original) +++ trunk/libavcodec/smacker.c Sun Oct 1 07:09:20 2006 @@ -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; } Modified: trunk/libavcodec/truemotion2.c ============================================================================== --- trunk/libavcodec/truemotion2.c (original) +++ trunk/libavcodec/truemotion2.c Sun Oct 1 07:09:20 2006 @@ -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)){ Modified: trunk/libavcodec/tscc.c ============================================================================== --- trunk/libavcodec/tscc.c (original) +++ trunk/libavcodec/tscc.c Sun Oct 1 07:09:20 2006 @@ -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; } Modified: trunk/libavcodec/vmnc.c ============================================================================== --- trunk/libavcodec/vmnc.c (original) +++ trunk/libavcodec/vmnc.c Sun Oct 1 07:09:20 2006 @@ -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; Modified: trunk/libavcodec/zmbv.c ============================================================================== --- trunk/libavcodec/zmbv.c (original) +++ trunk/libavcodec/zmbv.c Sun Oct 1 07:09:20 2006 @@ -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;
participants (1)
-
subversion@mplayerhq.hu