Revision 284ad8a4 libavcodec/rv10.c

View differences:

libavcodec/rv10.c
454 454
        }
455 455
        if(new_w != s->width || new_h != s->height){
456 456
            av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h);
457
            if (avcodec_check_dimensions(s->avctx, new_h, new_w) < 0)
458
                return -1;
457 459
            MPV_common_end(s);
458 460
            s->width  = s->avctx->width = new_w;
459 461
            s->height = s->avctx->height= new_h;

Also available in: Unified diff