Commit 867a6eae authored by michael's avatar michael

fix motion vectors for old version


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10096 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5625dfe7
......@@ -248,7 +248,10 @@ static void init_mv(FourXContext *f){
int i;
for(i=0; i<256; i++){
f->mv[i] = mv[i][0] + mv[i][1]*f->current_picture.linesize[0]/2;
if(f->version)
f->mv[i] = mv[i][0] + mv[i][1] *f->current_picture.linesize[0]/2;
else
f->mv[i] = (i&15) - 8 + ((i>>4)-8)*f->current_picture.linesize[0]/2;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment