[FFmpeg-soc] [soc]: r1148 - rv40/rv40.c

kostya subversion at mplayerhq.hu
Wed Aug 22 13:39:36 CEST 2007


Author: kostya
Date: Wed Aug 22 13:39:36 2007
New Revision: 1148

Log:
Set mb_pos to zero for a new frame (to detect missing slices)

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Wed Aug 22 13:39:36 2007
@@ -1573,6 +1573,7 @@ static int rv40_decode_slice(RV40DecCont
             return -1;
         ff_er_frame_start(s);
         s->current_picture_ptr = &s->current_picture;
+        s->mb_x = s->mb_y = 0;
     }
 
     r->quant = r->si.quant;



More information about the FFmpeg-soc mailing list