Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-updates-src > by-pkgid > 498a0f595bc179432c2ff3fbf6872aba > files > 6

ffmpeg-0.6.5-0.1mdv2010.2.src.rpm

--- libavcodec/rv34.c.orig	2011-03-21 17:27:05.612380001 +0000
+++ libavcodec/rv34.c	2011-03-21 17:28:04.032380001 +0000
@@ -1285,8 +1285,8 @@ static int rv34_decode_slice(RV34DecCont
         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;