aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vmnc.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-10-01 05:09:20 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-10-01 05:09:20 +0000
commit429914a330b17833adefcb1fbb9d07f0e858b1d5 (patch)
tree18f5d434e331a09e52cc158be0103005349ed6ec /libavcodec/vmnc.c
parent3129f3bd0f03f561589e5aa7a86027f8bb8c2c73 (diff)
downloadffmpeg-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/vmnc.c')
-rw-r--r--libavcodec/vmnc.c2
1 files changed, 1 insertions, 1 deletions
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;