Revision aef95c8c

View differences:

libavcodec/h263dec.c
205 205
//            s->mb_skiped = 0;
206 206
//printf("%d %d %06X\n", ret, get_bits_count(&s->gb), show_bits(&s->gb, 24));
207 207
            ret= s->decode_mb(s, s->block);
208
            
209
            MPV_decode_mb(s, s->block);
210 208

  
211 209
            if(ret<0){
212 210
                const int xy= s->mb_x + s->mb_y*s->mb_stride;
213 211
                if(ret==SLICE_END){
212
                    MPV_decode_mb(s, s->block);
213

  
214 214
//printf("%d %d %d %06X\n", s->mb_x, s->mb_y, s->gb.size*8 - get_bits_count(&s->gb), show_bits(&s->gb, 24));
215 215
                    ff_er_add_slice(s, s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y, (AC_END|DC_END|MV_END)&part_mask);
216 216

  
......
232 232
    
233 233
                return -1;
234 234
            }
235

  
236
            MPV_decode_mb(s, s->block);
235 237
        }
236 238
        
237 239
        ff_draw_horiz_band(s, s->mb_y*16, 16);

Also available in: Unified diff