Index: mpegvideo.c
===================================================================
--- mpegvideo.c	(revision 19580)
+++ mpegvideo.c	(arbetskopia)
@@ -2008,12 +2008,7 @@
 
         h= FFMIN(h, s->avctx->height - y);
 
-        if(s->pict_type==FF_B_TYPE || s->low_delay || (s->avctx->slice_flags&SLICE_FLAG_CODED_ORDER))
-            src= (AVFrame*)s->current_picture_ptr;
-        else if(s->last_picture_ptr)
-            src= (AVFrame*)s->last_picture_ptr;
-        else
-            return;
+	  	src = (AVFrame*)s->current_picture_ptr;
 
         if(s->pict_type==FF_B_TYPE && s->picture_structure == PICT_FRAME && s->out_format != FMT_H264){
             offset[0]=
