[FFmpeg-cvslog] r20590 - trunk/libavcodec/rv10.c

michael subversion
Mon Nov 23 20:24:17 CET 2009


Author: michael
Date: Mon Nov 23 20:24:17 2009
New Revision: 20590

Log:
Correct order of arguments for avcodec_check_dimensions().

Modified:
   trunk/libavcodec/rv10.c

Modified: trunk/libavcodec/rv10.c
==============================================================================
--- trunk/libavcodec/rv10.c	Mon Nov 23 20:22:19 2009	(r20589)
+++ trunk/libavcodec/rv10.c	Mon Nov 23 20:24:17 2009	(r20590)
@@ -367,7 +367,7 @@ static int rv20_decode_picture_header(Mp
         }
         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);



More information about the ffmpeg-cvslog mailing list