--- ffmpeg/libavcodec/rv34.c~ 2010-07-02 08:55:36.000000000 -0400 +++ ffmpeg/libavcodec/rv34.c 2012-01-09 11:23:39.154177413 -0500 @@ -1285,8 +1285,8 @@ if(s->width != r->si.width || s->height != r->si.height){ av_log(s->avctx, AV_LOG_DEBUG, "Changing dimensions to %dx%d\n", r->si.width,r->si.height); MPV_common_end(s); - s->width = r->si.width; - s->height = r->si.height; + s->width = s->avctx->width = r->si.width; + s->height = s->avctx->height = r->si.height; avcodec_set_dimensions(s->avctx, s->width, s->height); if(MPV_common_init(s) < 0) return -1;