Revision 77f7156d libavcodec/rv34.c

View differences:

libavcodec/rv34.c
787 787
    case RV34_MB_B_DIRECT:
788 788
        //surprisingly, it uses motion scheme from next reference frame
789 789
        next_bt = s->next_picture_ptr->mb_type[s->mb_x + s->mb_y * s->mb_stride];
790
        if(IS_INTRA(next_bt))
791
            fill_rectangle(s->current_picture_ptr->motion_val[0][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], 2, 2, s->b8_stride, 0, 4);
792
        else
790 793
        for(j = 0; j < 2; j++)
791 794
            for(i = 0; i < 2; i++)
792 795
                for(k = 0; k < 2; k++)

Also available in: Unified diff