Revision 137c8468 libavcodec/wmv2.c

View differences:

libavcodec/wmv2.c
216 216
                 wmv2_inter_table[w->cbp_table_index][cbp + 64][0]);
217 217

  
218 218
        /* motion vector */
219
        h263_pred_motion(s, 0, &pred_x, &pred_y);
219
        h263_pred_motion(s, 0, 0, &pred_x, &pred_y);
220 220
        msmpeg4_encode_motion(s, motion_x - pred_x, 
221 221
                              motion_y - pred_y);
222 222
    } else {
......
504 504
    int xy, wrap, diff, type;
505 505
    int16_t *A, *B, *C, *mot_val;
506 506

  
507
    wrap = s->block_wrap[0];
507
    wrap = s->b8_stride;
508 508
    xy = s->block_index[0];
509 509

  
510 510
    mot_val = s->current_picture.motion_val[0][xy];

Also available in: Unified diff