Revision d697b89b libavcodec/h263.c

View differences:

libavcodec/h263.c
359 359
                    uint8_t *p_pic= s->new_picture[0] + offset;
360 360
                    s->mb_skiped=1;
361 361
                    for(i=0; i<s->max_b_frames; i++){
362
                        uint8_t *b_pic= s->coded_order[i+1].picture[0] + offset;
363
                        int diff= pix_abs16x16(p_pic, b_pic, s->linesize);
362
                        uint8_t *b_pic;
363
                        int diff;
364

  
365
                        if(s->coded_order[i+1].pict_type!=B_TYPE) break;
366

  
367
                        b_pic= s->coded_order[i+1].picture[0] + offset;
368
                        diff= pix_abs16x16(p_pic, b_pic, s->linesize);
364 369
                        if(diff>s->qscale*70){
365 370
                            s->mb_skiped=0;
366 371
                            break;

Also available in: Unified diff