Revision 9bc8b386

View differences:

libavcodec/mpegvideo.c
1401 1401
                        int my= (s->motion_val[xy][1]>>shift) + sy;
1402 1402
                        draw_arrow(ptr, sx, sy, mx, my, s->width, s->height, s->linesize, 100);
1403 1403
                    }
1404
                }else if(IS_16X8(s->current_picture.mb_type[mb_index])){
1405
                    int i;
1406
                    for(i=0; i<2; i++){
1407
                        int sx=mb_x*16 + 8;
1408
                        int sy=mb_y*16 + 4 + 8*i;
1409
                        int xy=1 + mb_x*2 + (mb_y*2 + 1 + i)*(s->mb_width*2 + 2);
1410
                        int mx=(s->motion_val[xy][0]>>shift) + sx;
1411
                        int my=(s->motion_val[xy][1]>>shift) + sy;
1412
                        draw_arrow(ptr, sx, sy, mx, my, s->width, s->height, s->linesize, 100);
1413
                    }
1404 1414
                }else{
1405 1415
                    int sx= mb_x*16 + 8;
1406 1416
                    int sy= mb_y*16 + 8;

Also available in: Unified diff