[FFmpeg-soc] [soc]: r801 - rv40/rv40.c
kostya
subversion at mplayerhq.hu
Wed Aug 15 08:24:13 CEST 2007
Author: kostya
Date: Wed Aug 15 08:24:13 2007
New Revision: 801
Log:
100l Correct block type determining on the right edge
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Wed Aug 15 08:24:13 2007
@@ -709,7 +709,7 @@ static int rv40_decode_mb_info(RV40DecCo
blocks[r->mb_type[mb_pos - s->mb_stride]]++;
if(s->mb_x && !(s->mb_x == s->resync_mb_x && (s->mb_y-1) == s->resync_mb_y))
blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++;
- if(s->mb_x-1 < s->mb_width)
+ if(s->mb_x+1 < s->mb_width)
blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++;
}
if(s->mb_x && !(s->first_slice_line && s->mb_x == s->resync_mb_x))
More information about the FFmpeg-soc
mailing list