Revision 9ac34d94

View differences:

libavcodec/4xm.c
248 248
    int i;
249 249

  
250 250
    for(i=0; i<256; i++){
251
        f->mv[i] = mv[i][0] + mv[i][1]*f->current_picture.linesize[0]/2;
251
        if(f->version)
252
            f->mv[i] = mv[i][0]   + mv[i][1]  *f->current_picture.linesize[0]/2;
253
        else
254
            f->mv[i] = (i&15) - 8 + ((i>>4)-8)*f->current_picture.linesize[0]/2;
252 255
    }
253 256
}
254 257

  

Also available in: Unified diff