diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-11-23 22:24:17 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-11-23 22:24:17 +0300 |
commit | e026902a6214debd12b1cdf80f82196c0863bc5c (patch) | |
tree | 5885ca1f223904e1cf00001c54024d9f0adb0450 /libavcodec/rv10.c | |
parent | 4687f908c61125e8d7b89b756ce54e1d55af29f3 (diff) |
Correct order of arguments for avcodec_check_dimensions().
Originally committed as revision 20590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 1e5907433c..004c02d194 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -367,7 +367,7 @@ static int rv20_decode_picture_header(MpegEncContext *s) } if(new_w != s->width || new_h != s->height){ av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h); - if (avcodec_check_dimensions(s->avctx, new_h, new_w) < 0) + if (avcodec_check_dimensions(s->avctx, new_w, new_h) < 0) return -1; MPV_common_end(s); avcodec_set_dimensions(s->avctx, new_w, new_h); |