Mercurial > libavcodec.hg
diff vmnc.c @ 3800:9b75ab171fa9 libavcodec
1l: correct argument order in avcodec_check_dimensions
author | kostya |
---|---|
date | Sun, 01 Oct 2006 05:09:20 +0000 |
parents | 5fc587a5feea |
children | 3a151ccc6ed7 |
line wrap: on
line diff
--- 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;