diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-10-01 05:09:20 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-10-01 05:09:20 +0000 |
commit | 429914a330b17833adefcb1fbb9d07f0e858b1d5 (patch) | |
tree | 18f5d434e331a09e52cc158be0103005349ed6ec /libavcodec | |
parent | 3129f3bd0f03f561589e5aa7a86027f8bb8c2c73 (diff) | |
download | ffmpeg-429914a330b17833adefcb1fbb9d07f0e858b1d5.tar.gz |
1l: correct argument order in avcodec_check_dimensions
Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qdrw.c | 2 | ||||
-rw-r--r-- | libavcodec/smacker.c | 2 | ||||
-rw-r--r-- | libavcodec/truemotion2.c | 2 | ||||
-rw-r--r-- | libavcodec/tscc.c | 2 | ||||
-rw-r--r-- | libavcodec/vmnc.c | 2 | ||||
-rw-r--r-- | libavcodec/zmbv.c | 2 |
6 files changed, 6 insertions, 6 deletions
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; } diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 2d4c1e242b..5c56999397 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -520,7 +520,7 @@ static int decode_init(AVCodecContext *avctx) 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 --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 84b940d422..671bcb8dae 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -822,7 +822,7 @@ static int decode_init(AVCodecContext *avctx){ 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 --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; } diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index c4e5956203..739962a382 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -467,7 +467,7 @@ static int decode_init(AVCodecContext *avctx) 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 --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index fdca4d2a28..005a5328b7 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -616,7 +616,7 @@ static int decode_init(AVCodecContext *avctx) 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; |