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

kostya subversion at mplayerhq.hu
Wed Aug 22 19:49:34 CEST 2007


Author: kostya
Date: Wed Aug 22 19:49:33 2007
New Revision: 1156

Log:
1000l: frame may end with skip blocks

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Wed Aug 22 19:49:33 2007
@@ -1548,6 +1548,8 @@ static int rv40_decode_macroblock(RV40De
 static int check_slice_end(RV40DecContext *r, MpegEncContext *s)
 {
     int bits;
+    if(r->skip_blocks)
+        return 0;
     if(s->mb_y >= s->mb_height)
         return 1;
     bits = r->bits - get_bits_count(&s->gb);



More information about the FFmpeg-soc mailing list