summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion2.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/truemotion2.c
parent3129f3bd0f03f561589e5aa7a86027f8bb8c2c73 (diff)
1l: correct argument order in avcodec_check_dimensions
Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r--libavcodec/truemotion2.c2
1 files changed, 1 insertions, 1 deletions
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)){